home *** CD-ROM | disk | FTP | other *** search
Unknown | 1998-01-30 | 14.1 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| gt2
| Kopftext: 'ForEachAtt'
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 6f 72 45 61 63 68 41 | 74 74 00 2f 00 25 46 6f |ForEachA|tt./.%Fo|
|00000010| 72 45 61 63 68 41 74 74 | 28 29 00 42 61 73 69 63 |rEachAtt|().Basic|
|00000020| 20 53 79 6e 74 61 78 3a | 0d 0a 25 46 6f 72 45 61 | Syntax:|..%ForEa|
|00000030| 63 68 41 74 74 28 29 20 | 7b 0d 0a 20 20 20 20 3c |chAtt() |{.. <|
|00000040| 6d 61 63 72 6f 20 63 6f | 64 65 3e 0d 0a 7d 0d 0a |macro co|de>..}..|
|00000050| 0d 0a 42 61 73 69 63 20 | 53 79 6e 74 61 78 20 45 |..Basic |Syntax E|
|00000060| 78 61 6d 70 6c 65 3a 0d | 0a 25 46 6f 72 45 61 63 |xample:.|.%ForEac|
|00000070| 68 41 74 74 28 29 20 7b | 0d 0a 20 20 25 41 74 74 |hAtt() {|.. %Att|
|00000080| 46 69 65 6c 64 4e 61 6d | 65 0d 0a 7d 0d 0a 45 78 |FieldNam|e..}..Ex|
|00000090| 70 61 6e 73 69 6f 6e 3a | 0d 0a 72 65 6e 74 69 6e |pansion:|..rentin|
|000000a0| 67 5f 63 75 73 74 6f 6d | 65 72 0d 0a 6d 61 73 74 |g_custom|er..mast|
|000000b0| 65 72 5f 6e 75 6d 62 65 | 72 0d 0a 6d 6f 76 69 65 |er_numbe|r..movie|
|000000c0| 5f 63 6f 70 79 5f 6e 75 | 6d 62 65 72 0d 0a 72 65 |_copy_nu|mber..re|
|000000d0| 6e 74 61 6c 5f 72 65 63 | 6f 72 64 5f 64 61 74 65 |ntal_rec|ord_date|
|000000e0| 0d 0a 72 65 6e 74 61 6c | 5f 64 61 74 65 0d 0a 64 |..rental|_date..d|
|000000f0| 75 65 5f 64 61 74 65 0d | 0a 72 65 6e 74 61 6c 5f |ue_date.|.rental_|
|00000100| 73 74 61 74 75 73 0d 0a | 70 61 79 6d 65 6e 74 5f |status..|payment_|
|00000110| 61 6d 6f 75 6e 74 0d 0a | 70 61 79 6d 65 6e 74 5f |amount..|payment_|
|00000120| 64 61 74 65 0d 0a 70 61 | 79 6d 65 6e 74 5f 73 74 |date..pa|yment_st|
|00000130| 61 74 75 73 0d 0a 6f 76 | 65 72 64 75 65 5f 63 68 |atus..ov|erdue_ch|
|00000140| 61 72 67 65 0d 0a 0d 0a | 46 75 6c 6c 20 53 79 6e |arge....|Full Syn|
|00000150| 74 61 78 3a 0d 0a 25 46 | 6f 72 45 61 63 68 41 74 |tax:..%F|orEachAt|
|00000160| 74 28 3c 74 61 62 6c 65 | 3e 2c 3c 73 65 70 61 72 |t(<table|>,<separ|
|00000170| 61 74 6f 72 3e 29 20 7b | 0d 0a 20 20 20 20 3c 6d |ator>) {|.. <m|
|00000180| 61 63 72 6f 20 63 6f 64 | 65 3e 0d 0a 7d 0d 0a 0d |acro cod|e>..}...|
|00000190| 0a 46 75 6c 6c 20 53 79 | 6e 74 61 78 20 45 78 61 |.Full Sy|ntax Exa|
|000001a0| 6d 70 6c 65 3a 0d 0a 25 | 46 6f 72 45 61 63 68 41 |mple:..%|ForEachA|
|000001b0| 74 74 28 50 61 72 65 6e | 74 2c 20 22 2c 20 22 29 |tt(Paren|t, ", ")|
|000001c0| 20 7b 25 41 74 74 46 69 | 65 6c 64 4e 61 6d 65 7d | {%AttFi|eldName}|
|000001d0| 0d 0a 45 78 70 61 6e 73 | 69 6f 6e 3a 0d 0a 6d 61 |..Expans|ion:..ma|
|000001e0| 73 74 65 72 5f 6e 75 6d | 62 65 72 2c 20 6d 6f 76 |ster_num|ber, mov|
|000001f0| 69 65 5f 63 6f 70 79 5f | 6e 75 6d 62 65 72 2c 20 |ie_copy_|number, |
|00000200| 67 65 6e 65 72 61 6c 5f | 63 6f 6e 64 69 74 69 6f |general_|conditio|
|00000210| 6e 0d 0a 0d 0a 55 73 61 | 67 65 3a 0d 0a 61 6e 20 |n....Usa|ge:..an |
|00000220| 65 6e 74 69 74 79 20 6d | 75 73 74 20 62 65 20 69 |entity m|ust be i|
|00000230| 6e 20 73 63 6f 70 65 0d | 0a 3c 74 61 62 6c 65 3e |n scope.|.<table>|
|00000240| 20 63 61 6e 20 62 65 20 | 50 61 72 65 6e 74 20 6f | can be |Parent o|
|00000250| 72 20 43 68 69 6c 64 20 | 28 69 66 20 61 20 72 65 |r Child |(if a re|
|00000260| 6c 61 74 69 6f 6e 73 68 | 69 70 20 69 73 20 69 6e |lationsh|ip is in|
|00000270| 20 73 63 6f 70 65 29 2c | 20 6f 72 20 65 6d 70 74 | scope),| or empt|
|00000280| 79 0d 0a 3c 73 65 70 61 | 72 61 74 6f 72 3e 20 69 |y..<sepa|rator> i|
|00000290| 73 20 6f 70 74 69 6f 6e | 61 6c 00 25 46 6f 72 45 |s option|al.%ForE|
|000002a0| 61 63 68 41 74 74 28 29 | 20 7b 0d 0a 7d 00 46 6f |achAtt()| {..}.Fo|
|000002b0| 72 45 61 63 68 46 4b 41 | 74 74 00 30 00 25 46 6f |rEachFKA|tt.0.%Fo|
|000002c0| 72 45 61 63 68 46 4b 41 | 74 74 28 29 00 42 61 73 |rEachFKA|tt().Bas|
|000002d0| 69 63 20 53 79 6e 74 61 | 78 3a 0d 0a 25 46 6f 72 |ic Synta|x:..%For|
|000002e0| 45 61 63 68 46 4b 41 74 | 74 28 29 20 7b 0d 0a 20 |EachFKAt|t() {.. |
|000002f0| 20 20 20 3c 6d 61 63 72 | 6f 20 63 6f 64 65 3e 0d | <macr|o code>.|
|00000300| 0a 7d 0d 0a 0d 0a 42 61 | 73 69 63 20 53 79 6e 74 |.}....Ba|sic Synt|
|00000310| 61 78 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 25 46 6f |ax Examp|le:..%Fo|
|00000320| 72 45 61 63 68 46 4b 41 | 74 74 28 29 20 7b 0d 0a |rEachFKA|tt() {..|
|00000330| 20 20 25 41 74 74 46 69 | 65 6c 64 4e 61 6d 65 0d | %AttFi|eldName.|
|00000340| 0a 7d 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |.}..Expa|nsion:..|
|00000350| 6d 61 73 74 65 72 5f 6e | 75 6d 62 65 72 0d 0a 6d |master_n|umber..m|
|00000360| 6f 76 69 65 5f 63 6f 70 | 79 5f 6e 75 6d 62 65 72 |ovie_cop|y_number|
|00000370| 0d 0a 0d 0a 46 75 6c 6c | 20 53 79 6e 74 61 78 3a |....Full| Syntax:|
|00000380| 0d 0a 25 46 6f 72 45 61 | 63 68 46 4b 41 74 74 28 |..%ForEa|chFKAtt(|
|00000390| 3c 73 65 70 61 72 61 74 | 6f 72 3e 29 20 7b 0d 0a |<separat|or>) {..|
|000003a0| 20 20 20 20 3c 6d 61 63 | 72 6f 20 63 6f 64 65 3e | <mac|ro code>|
|000003b0| 0d 0a 7d 0d 0a 0d 0a 46 | 75 6c 6c 20 53 79 6e 74 |..}....F|ull Synt|
|000003c0| 61 78 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 25 46 6f |ax Examp|le:..%Fo|
|000003d0| 72 45 61 63 68 46 4b 41 | 74 74 28 22 2c 20 22 29 |rEachFKA|tt(", ")|
|000003e0| 20 7b 25 41 74 74 46 69 | 65 6c 64 4e 61 6d 65 7d | {%AttFi|eldName}|
|000003f0| 0d 0a 45 78 70 61 6e 73 | 69 6f 6e 3a 0d 0a 6d 61 |..Expans|ion:..ma|
|00000400| 73 74 65 72 5f 6e 75 6d | 62 65 72 2c 20 6d 6f 76 |ster_num|ber, mov|
|00000410| 69 65 5f 63 6f 70 79 5f | 6e 75 6d 62 65 72 0d 0a |ie_copy_|number..|
|00000420| 0d 0a 55 73 61 67 65 3a | 0d 0a 61 20 72 65 6c 61 |..Usage:|..a rela|
|00000430| 74 69 6f 6e 73 68 69 70 | 20 6d 75 73 74 20 62 65 |tionship| must be|
|00000440| 20 69 6e 20 73 63 6f 70 | 65 0d 0a 3c 73 65 70 61 | in scop|e..<sepa|
|00000450| 72 61 74 6f 72 3e 20 69 | 73 20 6f 70 74 69 6f 6e |rator> i|s option|
|00000460| 61 6c 00 25 46 6f 72 45 | 61 63 68 46 4b 41 74 74 |al.%ForE|achFKAtt|
|00000470| 28 29 20 7b 0d 0a 7d 00 | 41 74 74 49 73 50 4b 00 |() {..}.|AttIsPK.|
|00000480| 31 00 25 41 74 74 49 73 | 50 4b 00 42 61 73 69 63 |1.%AttIs|PK.Basic|
|00000490| 20 53 79 6e 74 61 78 3a | 0d 0a 25 41 74 74 49 73 | Syntax:|..%AttIs|
|000004a0| 50 4b 0d 0a 0d 0a 42 61 | 73 69 63 20 53 79 6e 74 |PK....Ba|sic Synt|
|000004b0| 61 78 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 25 46 6f |ax Examp|le:..%Fo|
|000004c0| 72 45 61 63 68 41 74 74 | 28 29 20 7b 0d 0a 20 20 |rEachAtt|() {.. |
|000004d0| 20 20 25 49 66 28 25 41 | 74 74 49 73 50 4b 29 20 | %If(%A|ttIsPK) |
|000004e0| 7b 0d 0a 20 20 20 20 20 | 20 20 20 25 41 74 74 4e |{.. | %AttN|
|000004f0| 61 6d 65 20 2d 3e 20 50 | 4b 7d 0d 0a 7d 0d 0a 0d |ame -> P|K}..}...|
|00000500| 0a 45 78 70 61 6e 73 69 | 6f 6e 3a 0d 0a 6d 61 73 |.Expansi|on:..mas|
|00000510| 74 65 72 2d 6e 75 6d 62 | 65 72 20 2d 3e 20 50 4b |ter-numb|er -> PK|
|00000520| 0d 0a 6d 6f 76 69 65 2d | 63 6f 70 79 2d 6e 75 6d |..movie-|copy-num|
|00000530| 62 65 72 20 2d 3e 20 50 | 4b 0d 0a 00 25 41 74 74 |ber -> P|K...%Att|
|00000540| 49 73 50 4b 00 41 74 74 | 49 73 46 4b 00 32 00 25 |IsPK.Att|IsFK.2.%|
|00000550| 41 74 74 49 73 46 4b 00 | 42 61 73 69 63 20 53 79 |AttIsFK.|Basic Sy|
|00000560| 6e 74 61 78 3a 0d 0a 25 | 41 74 74 49 73 46 4b 0d |ntax:..%|AttIsFK.|
|00000570| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|00000580| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 46 6f 72 45 61 |Example:|..%ForEa|
|00000590| 63 68 41 74 74 28 29 20 | 7b 0d 0a 20 20 20 20 25 |chAtt() |{.. %|
|000005a0| 49 66 28 25 41 74 74 49 | 73 46 4b 29 20 7b 0d 0a |If(%AttI|sFK) {..|
|000005b0| 20 20 20 20 20 20 20 20 | 25 41 74 74 4e 61 6d 65 | |%AttName|
|000005c0| 20 2d 3e 20 46 4b 7d 0d | 0a 7d 0d 0a 0d 0a 45 78 | -> FK}.|.}....Ex|
|000005d0| 70 61 6e 73 69 6f 6e 3a | 0d 0a 6d 61 73 74 65 72 |pansion:|..master|
|000005e0| 2d 6e 75 6d 62 65 72 20 | 2d 3e 20 46 4b 0d 0a 00 |-number |-> FK...|
|000005f0| 25 41 74 74 49 73 46 4b | 00 41 74 74 4e 75 6c 6c |%AttIsFK|.AttNull|
|00000600| 4f 70 74 69 6f 6e 00 33 | 00 25 41 74 74 4e 75 6c |Option.3|.%AttNul|
|00000610| 6c 4f 70 74 69 6f 6e 00 | 42 61 73 69 63 20 53 79 |lOption.|Basic Sy|
|00000620| 6e 74 61 78 3a 0d 0a 25 | 41 74 74 4e 75 6c 6c 4f |ntax:..%|AttNullO|
|00000630| 70 74 69 6f 6e 0d 0a 0d | 0a 42 61 73 69 63 20 53 |ption...|.Basic S|
|00000640| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00000650| 25 46 6f 72 45 61 63 68 | 41 74 74 28 29 20 7b 0d |%ForEach|Att() {.|
|00000660| 0a 20 20 20 20 25 41 74 | 74 4e 61 6d 65 20 2d 3e |. %At|tName ->|
|00000670| 20 25 41 74 74 4e 75 6c | 6c 4f 70 74 69 6f 6e 0d | %AttNul|lOption.|
|00000680| 0a 7d 0d 0a 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |.}....Ex|pansion:|
|00000690| 0d 0a 6d 61 73 74 65 72 | 2d 6e 75 6d 62 65 72 20 |..master|-number |
|000006a0| 2d 3e 20 4e 4f 54 20 4e | 55 4c 4c 0d 0a 6d 6f 76 |-> NOT N|ULL..mov|
|000006b0| 69 65 2d 63 6f 70 79 2d | 6e 75 6d 62 65 72 20 2d |ie-copy-|number -|
|000006c0| 3e 20 4e 55 4c 4c 0d 0a | 67 65 6e 65 72 61 6c 2d |> NULL..|general-|
|000006d0| 63 6f 6e 64 69 74 69 6f | 6e 20 2d 3e 20 4e 55 4c |conditio|n -> NUL|
|000006e0| 4c 0d 0a 00 25 41 74 74 | 4e 75 6c 6c 4f 70 74 69 |L...%Att|NullOpti|
|000006f0| 6f 6e 00 41 74 74 46 69 | 65 6c 64 4e 61 6d 65 00 |on.AttFi|eldName.|
|00000700| 34 00 25 41 74 74 46 69 | 65 6c 64 4e 61 6d 65 00 |4.%AttFi|eldName.|
|00000710| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|00000720| 41 74 74 46 69 65 6c 64 | 4e 61 6d 65 0d 0a 0d 0a |AttField|Name....|
|00000730| 42 61 73 69 63 20 53 79 | 6e 74 61 78 20 45 78 61 |Basic Sy|ntax Exa|
|00000740| 6d 70 6c 65 3a 0d 0a 25 | 46 6f 72 45 61 63 68 41 |mple:..%|ForEachA|
|00000750| 74 74 28 29 20 7b 0d 0a | 20 20 20 20 25 41 74 74 |tt() {..| %Att|
|00000760| 46 69 65 6c 64 4e 61 6d | 65 0d 0a 7d 0d 0a 0d 0a |FieldNam|e..}....|
|00000770| 45 78 70 61 6e 73 69 6f | 6e 3a 0d 0a 6d 61 73 74 |Expansio|n:..mast|
|00000780| 65 72 5f 6e 75 6d 62 65 | 72 0d 0a 6d 6f 76 69 65 |er_numbe|r..movie|
|00000790| 5f 63 6f 70 79 5f 6e 75 | 6d 62 65 72 0d 0a 67 65 |_copy_nu|mber..ge|
|000007a0| 6e 65 72 61 6c 5f 63 6f | 6e 64 69 74 69 6f 6e 0d |neral_co|ndition.|
|000007b0| 0a 00 25 41 74 74 46 69 | 65 6c 64 4e 61 6d 65 00 |..%AttFi|eldName.|
|000007c0| 50 61 72 65 6e 74 00 35 | 00 25 50 61 72 65 6e 74 |Parent.5|.%Parent|
|000007d0| 00 42 61 73 69 63 20 53 | 79 6e 74 61 78 3a 0d 0a |.Basic S|yntax:..|
|000007e0| 25 50 61 72 65 6e 74 0d | 0a 0d 0a 42 61 73 69 63 |%Parent.|...Basic|
|000007f0| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00000800| 0d 0a 25 50 61 72 65 6e | 74 0d 0a 45 78 70 61 6e |..%Paren|t..Expan|
|00000810| 73 69 6f 6e 3a 0d 0a 4d | 4f 56 49 45 5f 43 4f 50 |sion:..M|OVIE_COP|
|00000820| 59 00 25 50 61 72 65 6e | 74 00 41 74 74 46 69 65 |Y.%Paren|t.AttFie|
|00000830| 6c 64 57 69 64 74 68 00 | 36 00 25 41 74 74 46 69 |ldWidth.|6.%AttFi|
|00000840| 65 6c 64 57 69 64 74 68 | 00 42 61 73 69 63 20 53 |eldWidth|.Basic S|
|00000850| 79 6e 74 61 78 3a 0d 0a | 25 41 74 74 46 69 65 6c |yntax:..|%AttFiel|
|00000860| 64 57 69 64 74 68 0d 0a | 0d 0a 42 61 73 69 63 20 |dWidth..|..Basic |
|00000870| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00000880| 0a 25 46 6f 72 45 61 63 | 68 41 74 74 28 29 20 7b |.%ForEac|hAtt() {|
|00000890| 0d 0a 20 20 20 20 25 41 | 74 74 4e 61 6d 65 20 2d |.. %A|ttName -|
|000008a0| 3e 20 25 41 74 74 46 69 | 65 6c 64 57 69 64 74 68 |> %AttFi|eldWidth|
|000008b0| 0d 0a 7d 0d 0a 0d 0a 45 | 78 70 61 6e 73 69 6f 6e |..}....E|xpansion|
|000008c0| 3a 0d 0a 6d 61 73 74 65 | 72 2d 6e 75 6d 62 65 72 |:..maste|r-number|
|000008d0| 20 2d 3e 20 30 0d 0a 6d | 6f 76 69 65 2d 63 6f 70 | -> 0..m|ovie-cop|
|000008e0| 79 2d 6e 75 6d 62 65 72 | 20 2d 3e 20 30 0d 0a 67 |y-number| -> 0..g|
|000008f0| 65 6e 65 72 61 6c 2d 63 | 6f 6e 64 69 74 69 6f 6e |eneral-c|ondition|
|00000900| 20 2d 3e 20 31 30 0d 0a | 00 25 41 74 74 46 69 65 | -> 10..|.%AttFie|
|00000910| 6c 64 57 69 64 74 68 00 | 41 74 74 44 61 74 61 74 |ldWidth.|AttDatat|
|00000920| 79 70 65 00 37 00 25 41 | 74 74 44 61 74 61 74 79 |ype.7.%A|ttDataty|
|00000930| 70 65 00 42 61 73 69 63 | 20 53 79 6e 74 61 78 3a |pe.Basic| Syntax:|
|00000940| 0d 0a 25 41 74 74 44 61 | 74 61 74 79 70 65 0d 0a |..%AttDa|tatype..|
|00000950| 0d 0a 42 61 73 69 63 20 | 53 79 6e 74 61 78 20 45 |..Basic |Syntax E|
|00000960| 78 61 6d 70 6c 65 3a 0d | 0a 25 46 6f 72 45 61 63 |xample:.|.%ForEac|
|00000970| 68 41 74 74 28 29 20 7b | 0d 0a 20 20 20 20 25 41 |hAtt() {|.. %A|
|00000980| 74 74 4e 61 6d 65 20 2d | 3e 20 25 41 74 74 44 61 |ttName -|> %AttDa|
|00000990| 74 61 74 79 70 65 0d 0a | 7d 0d 0a 0d 0a 45 78 70 |tatype..|}....Exp|
|000009a0| 61 6e 73 69 6f 6e 3a 0d | 0a 6d 61 73 74 65 72 2d |ansion:.|.master-|
|000009b0| 6e 75 6d 62 65 72 20 2d | 3e 20 69 6e 74 0d 0a 6d |number -|> int..m|
|000009c0| 6f 76 69 65 2d 63 6f 70 | 79 2d 6e 75 6d 62 65 72 |ovie-cop|y-number|
|000009d0| 20 2d 3e 20 69 6e 74 0d | 0a 67 65 6e 65 72 61 6c | -> int.|.general|
|000009e0| 2d 63 6f 6e 64 69 74 69 | 6f 6e 20 2d 3e 20 76 61 |-conditi|on -> va|
|000009f0| 72 63 68 61 72 28 31 30 | 29 0d 0a 00 25 41 74 74 |rchar(10|)...%Att|
|00000a00| 44 61 74 61 74 79 70 65 | 00 3d 3d 00 38 00 25 3c |Datatype|.==.8.%<|
|00000a10| 63 6f 6d 70 61 72 69 73 | 6f 6e 20 6f 70 3e 28 2c |comparis|on op>(,|
|00000a20| 29 00 43 6f 6d 70 61 72 | 69 73 6f 6e 20 4f 70 65 |).Compar|ison Ope|
|00000a30| 72 61 74 6f 72 73 3a 0d | 0a 20 20 3d 3d 2c 3e 3d |rators:.|. ==,>=|
|00000a40| 2c 3e 2c 3c 3d 2c 3c 2c | 21 3d 2c 3c 3e 0d 0a 0d |,>,<=,<,|!=,<>...|
|00000a50| 0a 42 61 73 69 63 20 53 | 79 6e 74 61 78 3a 0d 0a |.Basic S|yntax:..|
|00000a60| 25 3d 3d 28 3c 6d 61 63 | 72 6f 20 63 6f 64 65 31 |%==(<mac|ro code1|
|00000a70| 3e 2c 20 3c 6d 61 63 72 | 6f 20 63 6f 64 65 32 3e |>, <macr|o code2>|
|00000a80| 29 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |)....Bas|ic Synta|
|00000a90| 78 20 45 78 61 6d 70 6c | 65 3a 0d 0a 25 46 6f 72 |x Exampl|e:..%For|
|00000aa0| 45 61 63 68 41 74 74 28 | 29 20 7b 0d 0a 20 20 20 |EachAtt(|) {.. |
|00000ab0| 20 25 49 66 28 25 3d 3d | 28 25 41 74 74 44 61 74 | %If(%==|(%AttDat|
|00000ac0| 61 74 79 70 65 2c 20 69 | 6e 74 29 29 20 7b 0d 0a |atype, i|nt)) {..|
|00000ad0| 20 20 20 20 20 20 20 20 | 25 41 74 74 4e 61 6d 65 | |%AttName|
|00000ae0| 7d 0d 0a 7d 0d 0a 0d 0a | 45 78 70 61 6e 73 69 6f |}..}....|Expansio|
|00000af0| 6e 3a 0d 0a 6d 61 73 74 | 65 72 2d 6e 75 6d 62 65 |n:..mast|er-numbe|
|00000b00| 72 0d 0a 6d 6f 76 69 65 | 2d 63 6f 70 79 2d 6e 75 |r..movie|-copy-nu|
|00000b10| 6d 62 65 72 0d 0a 00 25 | 3d 3d 28 2c 29 00 3c 3e |mber...%|==(,).<>|
|00000b20| 00 39 00 00 00 00 21 3d | 00 3a 00 00 00 00 3e 3d |.9....!=|.:....>=|
|00000b30| 00 3b 00 00 00 00 3c 3d | 00 3c 00 00 00 00 3e 00 |.;....<=|.<....>.|
|00000b40| 3d 00 00 00 00 3c 00 3e | 00 00 00 00 41 6e 64 00 |=....<.>|....And.|
|00000b50| 3f 00 25 41 6e 64 28 2c | 29 00 42 61 73 69 63 20 |?.%And(,|).Basic |
|00000b60| 53 79 6e 74 61 78 3a 0d | 0a 25 41 6e 64 28 3c 6d |Syntax:.|.%And(<m|
|00000b70| 61 63 72 6f 20 63 6f 64 | 65 31 3e 2c 20 3c 6d 61 |acro cod|e1>, <ma|
|00000b80| 63 72 6f 20 63 6f 64 65 | 32 3e 29 0d 0a 0d 0a 42 |cro code|2>)....B|
|00000b90| 61 73 69 63 20 53 79 6e | 74 61 78 20 45 78 61 6d |asic Syn|tax Exam|
|00000ba0| 70 6c 65 3a 0d 0a 25 46 | 6f 72 45 61 63 68 41 74 |ple:..%F|orEachAt|
|00000bb0| 74 28 29 20 7b 0d 0a 20 | 20 20 20 25 49 66 28 25 |t() {.. | %If(%|
|00000bc0| 41 6e 64 28 25 41 74 74 | 49 73 50 4b 2c 25 41 74 |And(%Att|IsPK,%At|
|00000bd0| 74 49 73 46 4b 29 29 20 | 7b 0d 0a 20 20 20 20 20 |tIsFK)) |{.. |
|00000be0| 20 20 20 25 41 74 74 4e | 61 6d 65 7d 0d 0a 7d 0d | %AttN|ame}..}.|
|00000bf0| 0a 0d 0a 45 78 70 61 6e | 73 69 6f 6e 3a 0d 0a 6d |...Expan|sion:..m|
|00000c00| 61 73 74 65 72 2d 6e 75 | 6d 62 65 72 0d 0a 00 25 |aster-nu|mber...%|
|00000c10| 41 6e 64 28 2c 29 00 4f | 72 00 40 00 25 4f 72 28 |And(,).O|r.@.%Or(|
|00000c20| 2c 29 00 42 61 73 69 63 | 20 53 79 6e 74 61 78 3a |,).Basic| Syntax:|
|00000c30| 0d 0a 25 4f 72 28 3c 6d | 61 63 72 6f 20 63 6f 64 |..%Or(<m|acro cod|
|00000c40| 65 31 3e 2c 20 3c 6d 61 | 63 72 6f 20 63 6f 64 65 |e1>, <ma|cro code|
|00000c50| 32 3e 29 0d 0a 0d 0a 42 | 61 73 69 63 20 53 79 6e |2>)....B|asic Syn|
|00000c60| 74 61 78 20 45 78 61 6d | 70 6c 65 3a 0d 0a 25 46 |tax Exam|ple:..%F|
|00000c70| 6f 72 45 61 63 68 41 74 | 74 28 29 20 7b 0d 0a 20 |orEachAt|t() {.. |
|00000c80| 20 20 20 25 49 66 28 25 | 4f 72 28 25 41 74 74 49 | %If(%|Or(%AttI|
|00000c90| 73 50 4b 2c 25 3d 3d 28 | 25 41 74 74 44 61 74 61 |sPK,%==(|%AttData|
|00000ca0| 74 79 70 65 2c 76 61 72 | 63 68 61 72 28 31 30 29 |type,var|char(10)|
|00000cb0| 29 29 29 20 7b 0d 0a 20 | 20 20 20 20 20 20 20 25 |))) {.. | %|
|00000cc0| 41 74 74 4e 61 6d 65 7d | 0d 0a 7d 0d 0a 0d 0a 45 |AttName}|..}....E|
|00000cd0| 78 70 61 6e 73 69 6f 6e | 3a 0d 0a 6d 61 73 74 65 |xpansion|:..maste|
|00000ce0| 72 2d 6e 75 6d 62 65 72 | 0d 0a 6d 6f 76 69 65 2d |r-number|..movie-|
|00000cf0| 63 6f 70 79 2d 6e 75 6d | 62 65 72 0d 0a 67 65 6e |copy-num|ber..gen|
|00000d00| 65 72 61 6c 2d 63 6f 6e | 64 69 74 69 6f 6e 0d 0a |eral-con|dition..|
|00000d10| 00 25 4f 72 28 2c 29 00 | 4e 6f 74 00 41 00 25 4e |.%Or(,).|Not.A.%N|
|00000d20| 6f 74 28 29 00 42 61 73 | 69 63 20 53 79 6e 74 61 |ot().Bas|ic Synta|
|00000d30| 78 3a 0d 0a 25 4e 6f 74 | 28 3c 6d 61 63 72 6f 20 |x:..%Not|(<macro |
|00000d40| 63 6f 64 65 3e 29 0d 0a | 0d 0a 42 61 73 69 63 20 |code>)..|..Basic |
|00000d50| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00000d60| 0a 25 46 6f 72 45 61 63 | 68 41 74 74 28 29 20 7b |.%ForEac|hAtt() {|
|00000d70| 0d 0a 20 20 20 20 25 49 | 66 28 25 4e 6f 74 28 25 |.. %I|f(%Not(%|
|00000d80| 3d 3d 28 25 41 74 74 44 | 61 74 61 74 79 70 65 2c |==(%AttD|atatype,|
|00000d90| 20 69 6e 74 29 29 29 20 | 7b 0d 0a 20 20 20 20 20 | int))) |{.. |
|00000da0| 20 20 20 25 41 74 74 4e | 61 6d 65 7d 0d 0a 7d 0d | %AttN|ame}..}.|
|00000db0| 0a 0d 0a 45 78 70 61 6e | 73 69 6f 6e 3a 0d 0a 67 |...Expan|sion:..g|
|00000dc0| 65 6e 65 72 61 6c 2d 63 | 6f 6e 64 69 74 69 6f 6e |eneral-c|ondition|
|00000dd0| 0d 0a 00 25 4e 6f 74 28 | 29 00 44 65 63 6c 00 42 |...%Not(|).Decl.B|
|00000de0| 00 25 44 65 63 6c 00 64 | 65 63 6c 61 72 65 73 20 |.%Decl.d|eclares |
|00000df0| 61 72 67 75 6d 65 6e 74 | 20 61 73 20 61 20 76 61 |argument| as a va|
|00000e00| 72 69 61 62 6c 65 0d 0a | 61 6e 64 20 6f 70 74 69 |riable..|and opti|
|00000e10| 6f 6e 61 6c 6c 79 20 69 | 6e 69 74 69 61 6c 69 7a |onally i|nitializ|
|00000e20| 65 73 20 69 74 0d 0a 0d | 0a 42 61 73 69 63 20 53 |es it...|.Basic S|
|00000e30| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00000e40| 25 44 65 63 6c 28 3c 61 | 72 67 3e 2c 3c 69 6e 69 |%Decl(<a|rg>,<ini|
|00000e50| 74 69 61 6c 20 76 61 6c | 75 65 3e 29 00 25 44 65 |tial val|ue>).%De|
|00000e60| 63 6c 28 69 2c 30 29 00 | 3a 00 43 00 25 3a 00 72 |cl(i,0).|:.C.%:.r|
|00000e70| 65 74 75 72 6e 73 20 74 | 68 65 20 76 61 6c 75 65 |eturns t|he value|
|00000e80| 20 6f 66 20 74 68 65 20 | 67 69 76 65 6e 20 76 61 | of the |given va|
|00000e90| 72 69 61 62 6c 65 0d 0a | 0d 0a 42 61 73 69 63 20 |riable..|..Basic |
|00000ea0| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00000eb0| 0a 25 3a 3c 76 61 72 69 | 61 62 6c 65 3e 00 25 3a |.%:<vari|able>.%:|
|00000ec0| 00 3d 00 44 00 25 3d 00 | 61 73 73 69 67 6e 73 20 |.=.D.%=.|assigns |
|00000ed0| 61 20 76 61 6c 75 65 20 | 74 6f 20 61 20 76 61 72 |a value |to a var|
|00000ee0| 69 61 62 6c 65 0d 0a 0d | 0a 42 61 73 69 63 20 53 |iable...|.Basic S|
|00000ef0| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00000f00| 25 3d 28 3c 76 61 72 69 | 61 62 6c 65 3e 2c 3c 6d |%=(<vari|able>,<m|
|00000f10| 61 63 72 6f 20 63 6f 64 | 65 3e 29 00 25 3d 28 2c |acro cod|e>).%=(,|
|00000f20| 29 00 2b 00 45 00 25 3c | 61 72 69 74 68 6d 65 74 |).+.E.%<|arithmet|
|00000f30| 69 63 20 6f 70 3e 28 2c | 29 00 41 72 69 74 68 6d |ic op>(,|).Arithm|
|00000f40| 65 74 69 63 20 4f 70 65 | 72 61 74 6f 72 69 6f 6e |etic Ope|ratorion|
|00000f50| 3a 0d 0a 20 20 2b 2c 2d | 2c 2a 2c 2f 0d 0a 0d 0a |:.. +,-|,*,/....|
|00000f60| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|00000f70| 2b 28 3c 6d 61 63 72 6f | 20 63 6f 64 65 31 3e 2c |+(<macro| code1>,|
|00000f80| 20 3c 6d 61 63 72 6f 20 | 63 6f 64 65 32 3e 29 0d | <macro |code2>).|
|00000f90| 0a 00 25 2b 28 2c 29 00 | 2d 00 46 00 00 00 00 2a |..%+(,).|-.F....*|
|00000fa0| 00 47 00 00 00 00 2f 00 | 48 00 00 00 00 43 6f 6e |.G..../.|H....Con|
|00000fb0| 63 61 74 00 49 00 25 43 | 6f 6e 63 61 74 00 63 6f |cat.I.%C|oncat.co|
|00000fc0| 6e 63 61 74 65 6e 61 74 | 65 73 20 74 77 6f 20 76 |ncatenat|es two v|
|00000fd0| 61 6c 75 65 73 20 61 6e | 64 20 72 65 74 75 72 6e |alues an|d return|
|00000fe0| 73 20 74 68 65 20 72 65 | 73 75 6c 74 0d 0a 0d 0a |s the re|sult....|
|00000ff0| 42 61 73 69 63 20 53 79 | 6e 74 61 78 20 45 78 61 |Basic Sy|ntax Exa|
|00001000| 6d 70 6c 65 3a 0d 0a 25 | 43 6f 6e 63 61 74 28 3c |mple:..%|Concat(<|
|00001010| 76 61 6c 75 65 31 3e 2c | 3c 76 61 6c 75 65 32 3e |value1>,|<value2>|
|00001020| 29 00 25 43 6f 6e 63 61 | 74 28 2c 29 00 49 66 00 |).%Conca|t(,).If.|
|00001030| 4a 00 25 49 66 28 29 00 | 42 61 73 69 63 20 53 79 |J.%If().|Basic Sy|
|00001040| 6e 74 61 78 3a 0d 0a 25 | 49 66 20 28 3c 70 72 65 |ntax:..%|If (<pre|
|00001050| 64 69 63 61 74 65 3e 29 | 20 7b 3c 6d 61 63 72 6f |dicate>)| {<macro|
|00001060| 20 63 6f 64 65 3e 7d 0d | 0a 0d 0a 42 61 73 69 63 | code>}.|...Basic|
|00001070| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00001080| 0d 0a 25 46 6f 72 45 61 | 63 68 41 74 74 28 29 20 |..%ForEa|chAtt() |
|00001090| 7b 0d 0a 20 20 20 25 49 | 66 28 25 41 74 74 49 73 |{.. %I|f(%AttIs|
|000010a0| 50 4b 29 20 7b 0d 0a 20 | 20 20 20 20 20 20 20 25 |PK) {.. | %|
|000010b0| 41 74 74 4e 61 6d 65 20 | 2d 3e 20 50 4b 7d 0d 0a |AttName |-> PK}..|
|000010c0| 7d 0d 0a 0d 0a 45 78 70 | 61 6e 73 69 6f 6e 3a 0d |}....Exp|ansion:.|
|000010d0| 0a 6d 61 73 74 65 72 2d | 6e 75 6d 62 65 72 20 2d |.master-|number -|
|000010e0| 3e 20 50 4b 0d 0a 6d 6f | 76 69 65 2d 63 6f 70 79 |> PK..mo|vie-copy|
|000010f0| 2d 6e 75 6d 62 65 72 20 | 2d 3e 20 50 4b 0d 0a 0d |-number |-> PK...|
|00001100| 0a 46 75 6c 6c 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |.Full Sy|ntax:..%|
|00001110| 49 66 20 28 3c 70 72 65 | 64 69 63 61 74 65 3e 29 |If (<pre|dicate>)|
|00001120| 20 7b 3c 6d 61 63 72 6f | 20 63 6f 64 65 3e 7d 20 | {<macro| code>} |
|00001130| 25 45 6c 73 65 20 7b 3c | 6d 61 63 72 6f 20 63 6f |%Else {<|macro co|
|00001140| 64 65 3e 7d 0d 0a 00 25 | 49 66 20 28 29 20 7b 0d |de>}...%|If () {.|
|00001150| 0a 7d 00 54 72 69 67 67 | 65 72 52 65 6c 52 49 00 |.}.Trigg|erRelRI.|
|00001160| 4b 00 25 54 72 69 67 67 | 65 72 52 65 6c 52 49 28 |K.%Trigg|erRelRI(|
|00001170| 29 00 46 75 6c 6c 20 53 | 79 6e 74 61 78 3a 0d 0a |).Full S|yntax:..|
|00001180| 25 54 72 69 67 67 65 72 | 52 65 6c 52 49 28 3c 61 |%Trigger|RelRI(<a|
|00001190| 63 74 69 6f 6e 3e 2c 3c | 74 79 70 65 3e 2c 3c 69 |ction>,<|type>,<i|
|000011a0| 6e 74 65 67 72 69 74 79 | 3e 29 0d 0a 0d 0a 46 75 |ntegrity|>)....Fu|
|000011b0| 6c 6c 20 53 79 6e 74 61 | 78 20 45 78 61 6d 70 6c |ll Synta|x Exampl|
|000011c0| 65 3a 0d 0a 25 46 6f 72 | 45 61 63 68 43 68 69 6c |e:..%For|EachChil|
|000011d0| 64 52 65 6c 28 29 20 7b | 0d 0a 20 20 25 49 66 28 |dRel() {|.. %If(|
|000011e0| 25 54 72 69 67 67 65 72 | 52 65 6c 52 49 28 55 70 |%Trigger|RelRI(Up|
|000011f0| 64 61 74 65 2c 20 43 68 | 69 6c 64 2c 20 43 61 73 |date, Ch|ild, Cas|
|00001200| 63 61 64 65 29 29 20 7b | 25 56 65 72 62 50 68 72 |cade)) {|%VerbPhr|
|00001210| 61 73 65 20 43 68 69 6c | 64 20 55 70 64 61 74 65 |ase Chil|d Update|
|00001220| 20 43 61 73 63 61 64 65 | 7d 0d 0a 7d 0d 0a 45 78 | Cascade|}..}..Ex|
|00001230| 70 61 6e 73 69 6f 6e 3a | 0d 0a 69 73 20 72 65 6e |pansion:|..is ren|
|00001240| 74 65 64 20 75 6e 64 65 | 72 20 43 68 69 6c 64 20 |ted unde|r Child |
|00001250| 55 70 64 61 74 65 20 43 | 61 73 63 61 64 65 0d 0a |Update C|ascade..|
|00001260| 0d 0a 55 73 61 67 65 3a | 0d 0a 3c 61 63 74 69 6f |..Usage:|..<actio|
|00001270| 6e 3e 20 6d 75 73 74 20 | 62 65 20 49 6e 73 65 72 |n> must |be Inser|
|00001280| 74 2c 20 44 65 6c 65 74 | 65 2c 20 6f 72 20 55 70 |t, Delet|e, or Up|
|00001290| 64 61 74 65 0d 0a 3c 74 | 79 70 65 3e 20 6d 75 73 |date..<t|ype> mus|
|000012a0| 74 20 62 65 20 50 61 72 | 65 6e 74 20 6f 72 20 43 |t be Par|ent or C|
|000012b0| 68 69 6c 64 0d 0a 3c 69 | 6e 74 65 67 72 69 74 79 |hild..<i|ntegrity|
|000012c0| 3e 20 6d 75 73 74 20 62 | 65 20 49 6e 73 65 72 74 |> must b|e Insert|
|000012d0| 2c 20 43 61 73 63 61 64 | 65 2c 20 53 65 74 4e 75 |, Cascad|e, SetNu|
|000012e0| 6c 6c 2c 20 6f 72 20 53 | 65 74 44 65 66 61 75 6c |ll, or S|etDefaul|
|000012f0| 74 00 25 54 72 69 67 67 | 65 72 52 65 6c 52 49 28 |t.%Trigg|erRelRI(|
|00001300| 29 20 7b 0d 0a 7d 00 50 | 68 79 73 52 65 6c 4e 61 |) {..}.P|hysRelNa|
|00001310| 6d 65 00 4c 00 25 50 68 | 79 73 52 65 6c 4e 61 6d |me.L.%Ph|ysRelNam|
|00001320| 65 00 42 61 73 69 63 20 | 53 79 6e 74 61 78 3a 0d |e.Basic |Syntax:.|
|00001330| 0a 25 50 68 79 73 52 65 | 6c 4e 61 6d 65 0d 0a 0d |.%PhysRe|lName...|
|00001340| 0a 42 61 73 69 63 20 53 | 79 6e 74 61 78 20 45 78 |.Basic S|yntax Ex|
|00001350| 61 6d 70 6c 65 3a 0d 0a | 25 50 68 79 73 52 65 6c |ample:..|%PhysRel|
|00001360| 4e 61 6d 65 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |Name..Ex|pansion:|
|00001370| 0d 0a 69 73 5f 72 65 6e | 74 65 64 5f 75 6e 64 65 |..is_ren|ted_unde|
|00001380| 72 00 25 50 68 79 73 52 | 65 6c 4e 61 6d 65 00 43 |r.%PhysR|elName.C|
|00001390| 61 72 64 69 6e 61 6c 69 | 74 79 00 4d 00 25 43 61 |ardinali|ty.M.%Ca|
|000013a0| 72 64 69 6e 61 6c 69 74 | 79 00 42 61 73 69 63 20 |rdinalit|y.Basic |
|000013b0| 53 79 6e 74 61 78 3a 0d | 0a 25 43 61 72 64 69 6e |Syntax:.|.%Cardin|
|000013c0| 61 6c 69 74 79 0d 0a 0d | 0a 42 61 73 69 63 20 53 |ality...|.Basic S|
|000013d0| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|000013e0| 25 43 61 72 64 69 6e 61 | 6c 69 74 79 0d 0a 45 78 |%Cardina|lity..Ex|
|000013f0| 70 61 6e 73 69 6f 6e 3a | 0d 0a 50 00 25 43 61 72 |pansion:|..P.%Car|
|00001400| 64 69 6e 61 6c 69 74 79 | 00 53 75 62 73 74 72 00 |dinality|.Substr.|
|00001410| 4e 00 25 53 75 62 73 74 | 72 28 29 00 42 61 73 69 |N.%Subst|r().Basi|
|00001420| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 53 75 62 73 |c Syntax|:..%Subs|
|00001430| 74 72 28 3c 6d 61 63 72 | 6f 20 63 6f 64 65 3e 2c |tr(<macr|o code>,|
|00001440| 3c 69 6e 69 74 69 61 6c | 20 70 6f 73 3e 29 0d 0a |<initial| pos>)..|
|00001450| 0d 0a 42 61 73 69 63 20 | 53 79 6e 74 61 78 20 45 |..Basic |Syntax E|
|00001460| 78 61 6d 70 6c 65 3a 0d | 0a 25 53 75 62 73 74 72 |xample:.|.%Substr|
|00001470| 28 61 62 63 64 65 66 67 | 2c 34 29 0d 0a 0d 0a 45 |(abcdefg|,4)....E|
|00001480| 78 70 61 6e 73 69 6f 6e | 3a 0d 0a 64 65 66 67 0d |xpansion|:..defg.|
|00001490| 0a 0d 0a 46 75 6c 6c 20 | 53 79 6e 74 61 78 3a 0d |...Full |Syntax:.|
|000014a0| 0a 25 53 75 62 73 74 72 | 28 3c 6d 61 63 72 6f 20 |.%Substr|(<macro |
|000014b0| 63 6f 64 65 3e 2c 3c 69 | 6e 69 74 69 61 6c 20 70 |code>,<i|nitial p|
|000014c0| 6f 73 3e 2c 3c 6c 65 6e | 67 74 68 3e 29 0d 0a 0d |os>,<len|gth>)...|
|000014d0| 0a 46 75 6c 6c 20 53 79 | 6e 74 61 78 20 45 78 61 |.Full Sy|ntax Exa|
|000014e0| 6d 70 6c 65 3a 0d 0a 25 | 53 75 62 73 74 72 28 61 |mple:..%|Substr(a|
|000014f0| 62 63 64 65 66 67 2c 34 | 2c 33 29 0d 0a 0d 0a 45 |bcdefg,4|,3)....E|
|00001500| 78 70 61 6e 73 69 6f 6e | 3a 0d 0a 64 65 66 00 25 |xpansion|:..def.%|
|00001510| 53 75 62 73 74 72 28 2c | 2c 29 00 41 74 74 50 68 |Substr(,|,).AttPh|
|00001520| 79 73 44 61 74 61 74 79 | 70 65 00 4f 00 25 41 74 |ysDataty|pe.O.%At|
|00001530| 74 50 68 79 73 44 61 74 | 61 74 79 70 65 00 42 61 |tPhysDat|atype.Ba|
|00001540| 73 69 63 20 53 79 6e 74 | 61 78 3a 0d 0a 25 41 74 |sic Synt|ax:..%At|
|00001550| 74 50 68 79 73 44 61 74 | 61 74 79 70 65 0d 0a 0d |tPhysDat|atype...|
|00001560| 0a 42 61 73 69 63 20 53 | 79 6e 74 61 78 20 45 78 |.Basic S|yntax Ex|
|00001570| 61 6d 70 6c 65 3a 0d 0a | 25 46 6f 72 45 61 63 68 |ample:..|%ForEach|
|00001580| 41 74 74 28 29 20 7b 0d | 0a 20 20 20 20 25 41 74 |Att() {.|. %At|
|00001590| 74 4e 61 6d 65 20 2d 3e | 20 25 41 74 74 50 68 79 |tName ->| %AttPhy|
|000015a0| 73 44 61 74 61 74 79 70 | 65 0d 0a 7d 0d 0a 0d 0a |sDatatyp|e..}....|
|000015b0| 45 78 70 61 6e 73 69 6f | 6e 3a 0d 0a 6d 61 73 74 |Expansio|n:..mast|
|000015c0| 65 72 2d 6e 75 6d 62 65 | 72 20 2d 3e 20 69 6e 74 |er-numbe|r -> int|
|000015d0| 0d 0a 6d 6f 76 69 65 2d | 63 6f 70 79 2d 6e 75 6d |..movie-|copy-num|
|000015e0| 62 65 72 20 2d 3e 20 69 | 6e 74 0d 0a 67 65 6e 65 |ber -> i|nt..gene|
|000015f0| 72 61 6c 2d 63 6f 6e 64 | 69 74 69 6f 6e 20 2d 3e |ral-cond|ition ->|
|00001600| 20 76 61 72 63 68 61 72 | 28 31 30 29 0d 0a 0d 0a | varchar|(10)....|
|00001610| 4e 6f 74 65 3a 0d 0a 72 | 65 74 75 72 6e 73 20 61 |Note:..r|eturns a|
|00001620| 20 62 75 69 6c 74 69 6e | 20 64 61 74 61 74 79 70 | builtin| datatyp|
|00001630| 65 20 65 76 65 6e 20 69 | 66 20 74 68 65 20 61 74 |e even i|f the at|
|00001640| 74 72 69 62 75 74 65 0d | 0a 69 73 20 61 74 74 61 |tribute.|.is atta|
|00001650| 63 68 65 64 20 74 6f 20 | 61 20 75 73 65 72 2d 64 |ched to |a user-d|
|00001660| 65 66 69 6e 65 64 20 64 | 61 74 61 74 79 70 65 00 |efined d|atatype.|
|00001670| 25 41 74 74 50 68 79 73 | 44 61 74 61 74 79 70 65 |%AttPhys|Datatype|
|00001680| 00 44 61 74 65 74 69 6d | 65 00 50 00 25 44 61 74 |.Datetim|e.P.%Dat|
|00001690| 65 74 69 6d 65 00 42 61 | 73 69 63 20 53 79 6e 74 |etime.Ba|sic Synt|
|000016a0| 61 78 3a 0d 0a 25 44 61 | 74 65 74 69 6d 65 0d 0a |ax:..%Da|tetime..|
|000016b0| 0d 0a 42 61 73 69 63 20 | 53 79 6e 74 61 78 20 45 |..Basic |Syntax E|
|000016c0| 78 61 6d 70 6c 65 3a 0d | 0a 25 44 61 74 65 74 69 |xample:.|.%Dateti|
|000016d0| 6d 65 0d 0a 57 65 64 20 | 46 65 62 20 31 37 20 31 |me..Wed |Feb 17 1|
|000016e0| 32 3a 35 36 3a 31 36 20 | 31 39 39 33 00 25 44 61 |2:56:16 |1993.%Da|
|000016f0| 74 65 74 69 6d 65 00 41 | 74 74 44 65 66 61 75 6c |tetime.A|ttDefaul|
|00001700| 74 00 51 00 25 41 74 74 | 44 65 66 61 75 6c 74 00 |t.Q.%Att|Default.|
|00001710| 72 65 74 75 72 6e 73 20 | 74 68 65 20 6e 61 6d 65 |returns |the name|
|00001720| 20 6f 66 20 74 68 65 20 | 64 65 66 61 75 6c 74 0d | of the |default.|
|00001730| 0a 61 74 74 61 63 68 65 | 64 20 74 6f 20 74 68 65 |.attache|d to the|
|00001740| 20 67 69 76 65 6e 20 61 | 74 74 72 69 62 75 74 65 | given a|ttribute|
|00001750| 0d 0a 00 25 41 74 74 44 | 65 66 61 75 6c 74 28 29 |...%AttD|efault()|
|00001760| 00 41 74 74 44 65 66 00 | 52 00 25 41 74 74 44 65 |.AttDef.|R.%AttDe|
|00001770| 66 00 72 65 74 75 72 6e | 73 20 74 68 65 20 61 74 |f.return|s the at|
|00001780| 74 72 69 62 75 74 65 27 | 73 20 64 65 66 69 6e 69 |tribute'|s defini|
|00001790| 74 69 6f 6e 0d 0a 00 25 | 41 74 74 44 65 66 00 41 |tion...%|AttDef.A|
|000017a0| 74 74 56 61 6c 69 64 61 | 74 69 6f 6e 00 53 00 25 |ttValida|tion.S.%|
|000017b0| 41 74 74 56 61 6c 69 64 | 61 74 69 6f 6e 00 72 65 |AttValid|ation.re|
|000017c0| 74 75 72 6e 73 20 74 68 | 65 20 6e 61 6d 65 20 6f |turns th|e name o|
|000017d0| 66 20 74 68 65 20 76 61 | 6c 69 64 61 74 69 6f 6e |f the va|lidation|
|000017e0| 0d 0a 61 74 74 61 63 68 | 65 64 20 74 6f 20 74 68 |..attach|ed to th|
|000017f0| 65 20 67 69 76 65 6e 20 | 61 74 74 72 69 62 75 74 |e given |attribut|
|00001800| 65 0d 0a 00 25 41 74 74 | 56 61 6c 69 64 61 74 69 |e...%Att|Validati|
|00001810| 6f 6e 00 56 61 6c 69 64 | 61 74 69 6f 6e 48 61 73 |on.Valid|ationHas|
|00001820| 56 61 6c 69 64 56 61 6c | 75 65 73 00 54 00 25 56 |ValidVal|ues.T.%V|
|00001830| 61 6c 69 64 61 74 69 6f | 6e 48 61 73 56 61 6c 69 |alidatio|nHasVali|
|00001840| 64 56 61 6c 75 65 73 00 | 54 52 55 45 20 69 73 20 |dValues.|TRUE is |
|00001850| 72 65 74 75 72 6e 65 64 | 20 69 66 20 74 68 65 20 |returned| if the |
|00001860| 67 69 76 65 6e 0d 0a 76 | 61 6c 69 64 61 74 69 6f |given..v|alidatio|
|00001870| 6e 20 68 61 73 20 61 6e | 79 20 76 61 6c 69 64 20 |n has an|y valid |
|00001880| 76 61 6c 75 65 73 2c 0d | 0a 6f 74 68 65 72 77 69 |values,.|.otherwi|
|00001890| 73 65 20 46 41 4c 53 45 | 20 69 73 20 72 65 74 75 |se FALSE| is retu|
|000018a0| 72 6e 65 64 0d 0a 0d 0a | 42 61 73 69 63 20 53 79 |rned....|Basic Sy|
|000018b0| 6e 74 61 78 3a 0d 0a 25 | 56 61 6c 69 64 61 74 69 |ntax:..%|Validati|
|000018c0| 6f 6e 48 61 73 56 61 6c | 69 64 56 61 6c 75 65 73 |onHasVal|idValues|
|000018d0| 28 3c 6e 61 6d 65 20 6f | 66 20 76 61 6c 69 64 61 |(<name o|f valida|
|000018e0| 74 69 6f 6e 3e 29 0d 0a | 0d 0a 00 25 56 61 6c 69 |tion>)..|...%Vali|
|000018f0| 64 61 74 69 6f 6e 48 61 | 73 56 61 6c 69 64 56 61 |dationHa|sValidVa|
|00001900| 6c 75 65 73 00 46 6f 72 | 45 61 63 68 56 61 6c 69 |lues.For|EachVali|
|00001910| 64 56 61 6c 75 65 00 55 | 00 25 46 6f 72 45 61 63 |dValue.U|.%ForEac|
|00001920| 68 56 61 6c 69 64 56 61 | 6c 75 65 28 29 00 6d 61 |hValidVa|lue().ma|
|00001930| 63 72 6f 73 20 77 69 74 | 68 69 6e 20 74 68 65 20 |cros wit|hin the |
|00001940| 73 63 6f 70 65 20 6f 66 | 20 74 68 65 0d 0a 62 72 |scope of| the..br|
|00001950| 61 63 65 73 20 61 72 65 | 20 65 76 61 6c 75 61 74 |aces are| evaluat|
|00001960| 65 64 20 66 6f 72 20 65 | 61 63 68 20 76 61 6c 69 |ed for e|ach vali|
|00001970| 64 0d 0a 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |d..value| of the |
|00001980| 67 69 76 65 6e 20 76 61 | 6c 69 64 61 74 69 6f 6e |given va|lidation|
|00001990| 0d 0a 00 25 46 6f 72 45 | 61 63 68 56 61 6c 69 64 |...%ForE|achValid|
|000019a0| 56 61 6c 75 65 28 3c 76 | 61 6c 69 64 61 74 69 6f |Value(<v|alidatio|
|000019b0| 6e 20 6e 61 6d 65 3e 29 | 20 7b 0d 0a 7d 00 56 61 |n name>)| {..}.Va|
|000019c0| 6c 69 64 56 61 6c 75 65 | 44 65 66 00 56 00 25 56 |lidValue|Def.V.%V|
|000019d0| 61 6c 69 64 56 61 6c 75 | 65 44 65 66 00 72 65 74 |alidValu|eDef.ret|
|000019e0| 75 72 6e 73 20 74 68 65 | 20 64 65 66 69 6e 69 74 |urns the| definit|
|000019f0| 69 6f 6e 20 6f 66 20 61 | 0d 0a 76 61 6c 69 64 20 |ion of a|..valid |
|00001a00| 76 61 6c 75 65 0d 0a 0d | 0a 55 73 61 67 65 20 43 |value...|.Usage C|
|00001a10| 6f 6e 74 65 78 74 3a 0d | 0a 20 20 20 20 2d 20 77 |ontext:.|. - w|
|00001a20| 69 74 68 69 6e 20 74 68 | 65 20 73 63 6f 70 65 20 |ithin th|e scope |
|00001a30| 6f 66 20 61 20 76 61 6c | 69 64 20 76 61 6c 75 65 |of a val|id value|
|00001a40| 0d 0a 00 25 56 61 6c 69 | 64 56 61 6c 75 65 44 65 |...%Vali|dValueDe|
|00001a50| 66 00 56 61 6c 69 64 56 | 61 6c 75 65 00 57 00 25 |f.ValidV|alue.W.%|
|00001a60| 56 61 6c 69 64 56 61 6c | 75 65 00 72 65 74 75 72 |ValidVal|ue.retur|
|00001a70| 6e 73 20 74 68 65 20 64 | 61 74 61 20 76 61 6c 75 |ns the d|ata valu|
|00001a80| 65 20 6f 66 20 61 0d 0a | 76 61 6c 69 64 20 76 61 |e of a..|valid va|
|00001a90| 6c 75 65 0d 0a 0d 0a 55 | 73 61 67 65 20 43 6f 6e |lue....U|sage Con|
|00001aa0| 74 65 78 74 3a 0d 0a 20 | 20 20 20 2d 20 77 69 74 |text:.. | - wit|
|00001ab0| 68 69 6e 20 74 68 65 20 | 73 63 6f 70 65 20 6f 66 |hin the |scope of|
|00001ac0| 20 61 20 76 61 6c 69 64 | 20 76 61 6c 75 65 0d 0a | a valid| value..|
|00001ad0| 00 25 56 61 6c 69 64 56 | 61 6c 75 65 00 4c 65 6e |.%ValidV|alue.Len|
|00001ae0| 00 58 00 25 4c 65 6e 00 | 72 65 74 75 72 6e 73 20 |.X.%Len.|returns |
|00001af0| 74 68 65 20 73 74 72 69 | 6e 67 20 6c 65 6e 67 74 |the stri|ng lengt|
|00001b00| 68 20 6f 66 20 69 74 73 | 20 61 72 67 75 6d 65 6e |h of its| argumen|
|00001b10| 74 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |t....Bas|ic Synta|
|00001b20| 78 3a 0d 0a 25 4c 65 6e | 28 29 0d 0a 00 25 4c 65 |x:..%Len|()...%Le|
|00001b30| 6e 28 29 00 4d 61 78 00 | 59 00 25 4d 61 78 28 29 |n().Max.|Y.%Max()|
|00001b40| 00 72 65 74 75 72 6e 73 | 20 6d 61 78 69 6d 75 6d |.returns| maximum|
|00001b50| 20 6f 66 20 74 77 6f 20 | 61 72 67 75 6d 65 6e 74 | of two |argument|
|00001b60| 73 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |s....Bas|ic Synta|
|00001b70| 78 3a 0d 0a 25 4d 61 78 | 28 3c 76 61 6c 31 3e 2c |x:..%Max|(<val1>,|
|00001b80| 3c 76 61 6c 32 3e 29 0d | 0a 00 25 4d 61 78 28 2c |<val2>).|..%Max(,|
|00001b90| 29 00 4d 69 6e 00 5a 00 | 25 4d 69 6e 00 72 65 74 |).Min.Z.|%Min.ret|
|00001ba0| 75 72 6e 73 20 6d 69 6e | 69 6d 75 6d 20 6f 66 20 |urns min|imum of |
|00001bb0| 74 77 6f 20 61 72 67 75 | 6d 65 6e 74 73 0d 0a 0d |two argu|ments...|
|00001bc0| 0a 25 4d 69 6e 28 3c 76 | 61 6c 31 3e 2c 3c 76 61 |.%Min(<v|al1>,<va|
|00001bd0| 6c 32 3e 29 0d 0a 0d 0a | 42 61 73 69 63 20 53 79 |l2>)....|Basic Sy|
|00001be0| 6e 74 61 78 3a 0d 0a 25 | 4d 69 6e 28 3c 76 61 6c |ntax:..%|Min(<val|
|00001bf0| 31 3e 2c 3c 76 61 6c 32 | 3e 29 0d 0a 00 25 4d 69 |1>,<val2|>)...%Mi|
|00001c00| 6e 28 2c 29 00 53 75 62 | 73 74 69 74 75 74 65 00 |n(,).Sub|stitute.|
|00001c10| 5b 00 25 53 75 62 73 74 | 69 74 75 74 65 00 73 75 |[.%Subst|itute.su|
|00001c20| 62 73 74 69 74 75 74 65 | 73 20 67 69 76 65 6e 20 |bstitute|s given |
|00001c30| 70 61 74 74 65 72 6e 28 | 32 6e 64 20 61 72 67 29 |pattern(|2nd arg)|
|00001c40| 0d 0a 77 69 74 68 20 67 | 69 76 65 6e 20 73 75 62 |..with g|iven sub|
|00001c50| 73 74 69 74 75 74 65 20 | 73 74 72 69 6e 67 28 33 |stitute |string(3|
|00001c60| 72 64 20 61 72 67 29 0d | 0a 69 6e 20 67 69 76 65 |rd arg).|.in give|
|00001c70| 6e 20 73 74 72 69 6e 67 | 28 31 73 74 20 61 72 67 |n string|(1st arg|
|00001c80| 29 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |)....Bas|ic Synta|
|00001c90| 78 20 45 78 61 6d 70 6c | 65 3a 0d 0a 25 53 75 62 |x Exampl|e:..%Sub|
|00001ca0| 73 74 69 74 75 74 65 28 | 3c 76 61 6c 75 65 3e 2c |stitute(|<value>,|
|00001cb0| 3c 70 61 74 74 65 72 6e | 3e 2c 3c 73 75 62 73 74 |<pattern|>,<subst|
|00001cc0| 69 74 75 74 65 3e 29 0d | 0a 0d 0a 00 25 53 75 62 |itute>).|....%Sub|
|00001cd0| 73 74 69 74 75 74 65 28 | 2c 2c 29 00 56 61 6c 69 |stitute(|,,).Vali|
|00001ce0| 64 61 74 69 6f 6e 52 75 | 6c 65 00 5c 00 25 56 61 |dationRu|le.\.%Va|
|00001cf0| 6c 69 64 61 74 69 6f 6e | 52 75 6c 65 00 72 65 74 |lidation|Rule.ret|
|00001d00| 75 72 6e 73 20 61 20 76 | 61 6c 69 64 61 74 69 6f |urns a v|alidatio|
|00001d10| 6e 27 73 20 73 65 72 76 | 65 72 2d 73 69 64 65 20 |n's serv|er-side |
|00001d20| 72 75 6c 65 0d 0a 0d 0a | 42 61 73 69 63 20 53 79 |rule....|Basic Sy|
|00001d30| 6e 74 61 78 3a 0d 0a 25 | 56 61 6c 69 64 61 74 69 |ntax:..%|Validati|
|00001d40| 6f 6e 52 75 6c 65 28 3c | 76 61 6c 69 64 61 74 69 |onRule(<|validati|
|00001d50| 6f 6e 20 6e 61 6d 65 3e | 29 20 6f 72 0d 0a 25 56 |on name>|) or..%V|
|00001d60| 61 6c 69 64 61 74 69 6f | 6e 52 75 6c 65 0d 0a 0d |alidatio|nRule...|
|00001d70| 0a 55 73 61 67 65 20 43 | 6f 6e 74 65 78 74 3a 0d |.Usage C|ontext:.|
|00001d80| 0a 20 20 20 20 25 56 61 | 6c 69 64 61 74 69 6f 6e |. %Va|lidation|
|00001d90| 52 75 6c 65 28 3c 76 61 | 6c 69 64 61 74 69 6f 6e |Rule(<va|lidation|
|00001da0| 20 6e 61 6d 65 3e 29 20 | 2d 20 61 6e 79 77 68 65 | name>) |- anywhe|
|00001db0| 72 65 0d 0a 20 20 20 20 | 25 56 61 6c 69 64 61 74 |re.. |%Validat|
|00001dc0| 69 6f 6e 52 75 6c 65 20 | 2d 20 77 69 74 68 69 6e |ionRule |- within|
|00001dd0| 20 74 68 65 20 73 63 6f | 70 65 20 6f 66 20 61 20 | the sco|pe of a |
|00001de0| 76 61 6c 69 64 61 74 69 | 6f 6e 0d 0a 00 25 56 61 |validati|on...%Va|
|00001df0| 6c 69 64 61 74 69 6f 6e | 52 75 6c 65 00 49 6e 63 |lidation|Rule.Inc|
|00001e00| 6c 75 64 65 00 5d 00 25 | 49 6e 63 6c 75 64 65 00 |lude.].%|Include.|
|00001e10| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|00001e20| 49 6e 63 6c 75 64 65 28 | 22 3c 70 61 74 68 20 6e |Include(|"<path n|
|00001e30| 61 6d 65 3e 22 29 0d 0a | 0d 0a 42 61 73 69 63 20 |ame>")..|..Basic |
|00001e40| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00001e50| 0a 25 49 6e 63 6c 75 64 | 65 28 22 3c 63 3a 5c 65 |.%Includ|e("<c:\e|
|00001e60| 72 77 69 6e 5c 74 72 69 | 67 67 65 72 2e 74 64 6c |rwin\tri|gger.tdl|
|00001e70| 22 29 00 25 49 6e 63 6c | 75 64 65 28 22 22 29 00 |").%Incl|ude("").|
|00001e80| 45 6e 74 69 74 79 49 64 | 00 5e 00 25 45 6e 74 69 |EntityId|.^.%Enti|
|00001e90| 74 79 49 64 00 42 61 73 | 69 63 20 53 79 6e 74 61 |tyId.Bas|ic Synta|
|00001ea0| 78 3a 0d 0a 25 45 6e 74 | 69 74 79 49 64 28 29 0d |x:..%Ent|ityId().|
|00001eb0| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|00001ec0| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 45 6e 74 69 74 |Example:|..%Entit|
|00001ed0| 79 49 64 28 29 0d 0a 45 | 78 70 61 6e 73 69 6f 6e |yId()..E|xpansion|
|00001ee0| 3a 31 0d 0a 0d 0a 46 75 | 6c 6c 20 53 79 6e 74 61 |:1....Fu|ll Synta|
|00001ef0| 78 3a 0d 0a 25 45 6e 74 | 69 74 79 49 64 28 3c 74 |x:..%Ent|ityId(<t|
|00001f00| 61 62 6c 65 3e 29 0d 0a | 0d 0a 46 75 6c 6c 20 53 |able>)..|..Full S|
|00001f10| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00001f20| 25 45 6e 74 69 74 79 49 | 64 28 25 50 61 72 65 6e |%EntityI|d(%Paren|
|00001f30| 74 29 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 31 00 |t)..Expa|nsion:1.|
|00001f40| 25 45 6e 74 69 74 79 49 | 64 28 29 00 41 74 74 49 |%EntityI|d().AttI|
|00001f50| 64 00 5f 00 25 41 74 74 | 49 64 00 42 61 73 69 63 |d._.%Att|Id.Basic|
|00001f60| 20 53 79 6e 74 61 78 3a | 0d 0a 25 41 74 74 49 64 | Syntax:|..%AttId|
|00001f70| 0d 0a 0d 0a 42 61 73 69 | 63 20 53 79 6e 74 61 78 |....Basi|c Syntax|
|00001f80| 20 45 78 61 6d 70 6c 65 | 3a 0d 0a 25 41 74 74 49 | Example|:..%AttI|
|00001f90| 64 0d 0a 45 78 70 61 6e | 73 69 6f 6e 3a 31 00 25 |d..Expan|sion:1.%|
|00001fa0| 41 74 74 49 64 00 45 6e | 74 69 74 79 4e 61 6d 65 |AttId.En|tityName|
|00001fb0| 00 60 00 25 45 6e 74 69 | 74 79 4e 61 6d 65 00 42 |.`.%Enti|tyName.B|
|00001fc0| 61 73 69 63 20 53 79 6e | 74 61 78 3a 0d 0a 25 45 |asic Syn|tax:..%E|
|00001fd0| 6e 74 69 74 79 4e 61 6d | 65 28 29 0d 0a 0d 0a 42 |ntityNam|e()....B|
|00001fe0| 61 73 69 63 20 53 79 6e | 74 61 78 20 45 78 61 6d |asic Syn|tax Exam|
|00001ff0| 70 6c 65 3a 0d 0a 25 45 | 6e 74 69 74 79 4e 61 6d |ple:..%E|ntityNam|
|00002000| 65 28 29 0d 0a 45 78 70 | 61 6e 73 69 6f 6e 3a 4d |e()..Exp|ansion:M|
|00002010| 4f 56 49 45 20 52 45 4e | 54 41 4c 20 52 45 43 4f |OVIE REN|TAL RECO|
|00002020| 52 44 0d 0a 0d 0a 46 75 | 6c 6c 20 53 79 6e 74 61 |RD....Fu|ll Synta|
|00002030| 78 3a 0d 0a 25 45 6e 74 | 69 74 79 4e 61 6d 65 28 |x:..%Ent|ityName(|
|00002040| 3c 74 61 62 6c 65 3e 29 | 0d 0a 0d 0a 46 75 6c 6c |<table>)|....Full|
|00002050| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00002060| 0d 0a 25 45 6e 74 69 74 | 79 4e 61 6d 65 28 25 50 |..%Entit|yName(%P|
|00002070| 61 72 65 6e 74 29 0d 0a | 45 78 70 61 6e 73 69 6f |arent)..|Expansio|
|00002080| 6e 3a 4d 4f 56 49 45 20 | 43 4f 50 59 00 25 45 6e |n:MOVIE |COPY.%En|
|00002090| 74 69 74 79 4e 61 6d 65 | 28 29 00 52 65 6c 49 64 |tityName|().RelId|
|000020a0| 00 61 00 25 52 65 6c 49 | 64 00 42 61 73 69 63 20 |.a.%RelI|d.Basic |
|000020b0| 53 79 6e 74 61 78 3a 0d | 0a 25 52 65 6c 49 64 0d |Syntax:.|.%RelId.|
|000020c0| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|000020d0| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 52 65 6c 49 64 |Example:|..%RelId|
|000020e0| 0d 0a 45 78 70 61 6e 73 | 69 6f 6e 3a 31 00 25 52 |..Expans|ion:1.%R|
|000020f0| 65 6c 49 64 00 41 74 74 | 49 73 52 6f 6c 65 6e 61 |elId.Att|IsRolena|
|00002100| 6d 65 64 00 62 00 25 41 | 74 74 49 73 52 6f 6c 65 |med.b.%A|ttIsRole|
|00002110| 6e 61 6d 65 64 00 42 61 | 73 69 63 20 53 79 6e 74 |named.Ba|sic Synt|
|00002120| 61 78 3a 0d 0a 25 41 74 | 74 49 73 52 6f 6c 65 6e |ax:..%At|tIsRolen|
|00002130| 61 6d 65 64 0d 0a 0d 0a | 42 61 73 69 63 20 53 79 |amed....|Basic Sy|
|00002140| 6e 74 61 78 20 45 78 61 | 6d 70 6c 65 3a 0d 0a 25 |ntax Exa|mple:..%|
|00002150| 46 6f 72 45 61 63 68 41 | 74 74 28 29 20 7b 0d 0a |ForEachA|tt() {..|
|00002160| 20 20 20 20 25 49 66 28 | 25 41 74 74 49 73 52 6f | %If(|%AttIsRo|
|00002170| 6c 65 6e 61 6d 65 64 29 | 20 7b 0d 0a 20 20 20 20 |lenamed)| {.. |
|00002180| 20 20 20 20 25 41 74 74 | 4e 61 6d 65 7d 0d 0a 7d | %Att|Name}..}|
|00002190| 0d 0a 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |....Expa|nsion:..|
|000021a0| 72 65 6e 74 69 6e 67 5f | 63 75 73 74 6f 6d 65 72 |renting_|customer|
|000021b0| 0d 0a 00 25 41 74 74 49 | 73 52 6f 6c 65 6e 61 6d |...%AttI|sRolenam|
|000021c0| 65 64 00 52 65 6c 54 79 | 70 65 00 63 00 25 52 65 |ed.RelTy|pe.c.%Re|
|000021d0| 6c 54 79 70 65 00 42 61 | 73 69 63 20 53 79 6e 74 |lType.Ba|sic Synt|
|000021e0| 61 78 3a 0d 0a 25 52 65 | 6c 54 79 70 65 0d 0a 0d |ax:..%Re|lType...|
|000021f0| 0a 42 61 73 69 63 20 53 | 79 6e 74 61 78 20 45 78 |.Basic S|yntax Ex|
|00002200| 61 6d 70 6c 65 3a 0d 0a | 25 52 65 6c 54 79 70 65 |ample:..|%RelType|
|00002210| 0d 0a 45 78 70 61 6e 73 | 69 6f 6e 3a 52 54 5f 49 |..Expans|ion:RT_I|
|00002220| 44 00 25 52 65 6c 54 79 | 70 65 00 52 65 6c 49 73 |D.%RelTy|pe.RelIs|
|00002230| 4e 6f 6e 75 6c 6c 00 64 | 00 25 52 65 6c 49 73 4e |Nonull.d|.%RelIsN|
|00002240| 6f 6e 75 6c 6c 00 42 61 | 73 69 63 20 53 79 6e 74 |onull.Ba|sic Synt|
|00002250| 61 78 3a 0d 0a 25 52 65 | 6c 49 73 4e 6f 6e 75 6c |ax:..%Re|lIsNonul|
|00002260| 6c 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |l....Bas|ic Synta|
|00002270| 78 20 45 78 61 6d 70 6c | 65 3a 0d 0a 25 49 66 28 |x Exampl|e:..%If(|
|00002280| 25 52 65 6c 49 73 4e 6f | 6e 75 6c 6c 29 20 7b 0d |%RelIsNo|null) {.|
|00002290| 0a 20 20 20 25 56 65 72 | 62 50 68 72 61 73 65 7d |. %Ver|bPhrase}|
|000022a0| 0d 0a 7d 0d 0a 0d 0a 45 | 78 70 61 6e 73 69 6f 6e |..}....E|xpansion|
|000022b0| 3a 0d 0a 69 73 5f 72 65 | 6e 74 65 64 5f 75 6e 64 |:..is_re|nted_und|
|000022c0| 65 72 0d 0a 00 25 52 65 | 6c 49 73 4e 6f 6e 75 6c |er...%Re|lIsNonul|
|000022d0| 6c 00 4f 6c 64 00 65 00 | 00 00 00 4e 65 77 00 66 |l.Old.e.|...New.f|
|000022e0| 00 00 00 00 50 68 79 73 | 50 72 6f 70 47 72 6f 75 |....Phys|PropGrou|
|000022f0| 70 00 67 00 00 00 00 50 | 68 79 73 50 72 6f 70 4e |p.g....P|hysPropN|
|00002300| 61 6d 65 00 68 00 00 00 | 00 50 68 79 73 50 72 6f |ame.h...|.PhysPro|
|00002310| 70 56 61 6c 00 69 00 00 | 00 00 50 68 79 73 50 72 |pVal.i..|..PhysPr|
|00002320| 6f 70 00 6a 00 00 00 00 | 44 70 6f 4e 61 6d 65 00 |op.j....|DpoName.|
|00002330| 6b 00 00 00 00 46 6f 72 | 45 61 63 68 50 68 79 73 |k....For|EachPhys|
|00002340| 50 72 6f 70 00 6c 00 00 | 00 00 46 6f 72 45 61 63 |Prop.l..|..ForEac|
|00002350| 68 43 6f 6c 50 68 79 73 | 50 72 6f 70 00 6d 00 00 |hColPhys|Prop.m..|
|00002360| 00 00 54 65 6d 70 6c 61 | 74 65 4e 61 6d 65 00 6e |..Templa|teName.n|
|00002370| 00 25 54 65 6d 70 6c 61 | 74 65 4e 61 6d 65 00 42 |.%Templa|teName.B|
|00002380| 61 73 69 63 20 53 79 6e | 74 61 78 3a 0d 0a 25 54 |asic Syn|tax:..%T|
|00002390| 65 6d 70 6c 61 74 65 4e | 61 6d 65 0d 0a 0d 0a 42 |emplateN|ame....B|
|000023a0| 61 73 69 63 20 53 79 6e | 74 61 78 20 45 78 61 6d |asic Syn|tax Exam|
|000023b0| 70 6c 65 3a 0d 0a 25 54 | 65 6d 70 6c 61 74 65 4e |ple:..%T|emplateN|
|000023c0| 61 6d 65 0d 0a 45 78 70 | 61 6e 73 69 6f 6e 3a 0d |ame..Exp|ansion:.|
|000023d0| 0a 73 70 5f 4d 4f 56 49 | 45 5f 52 45 4e 54 41 4c |.sp_MOVI|E_RENTAL|
|000023e0| 5f 52 45 43 4f 52 00 25 | 54 65 6d 70 6c 61 74 65 |_RECOR.%|Template|
|000023f0| 4e 61 6d 65 00 55 70 70 | 65 72 00 6f 00 25 55 70 |Name.Upp|er.o.%Up|
|00002400| 70 65 72 00 63 6f 6e 76 | 65 72 74 73 20 69 74 73 |per.conv|erts its|
|00002410| 20 61 72 67 75 6d 65 6e | 74 20 74 6f 20 55 50 50 | argumen|t to UPP|
|00002420| 45 52 20 63 61 73 65 0d | 0a 0d 0a 42 61 73 69 63 |ER case.|...Basic|
|00002430| 20 53 79 6e 74 61 78 3a | 0d 0a 25 55 70 70 65 72 | Syntax:|..%Upper|
|00002440| 28 3c 6d 61 63 72 6f 20 | 63 6f 64 65 3e 29 0d 0a |(<macro |code>)..|
|00002450| 00 25 55 70 70 65 72 28 | 29 00 4c 6f 77 65 72 00 |.%Upper(|).Lower.|
|00002460| 70 00 25 4c 6f 77 65 72 | 00 63 6f 6e 76 65 72 74 |p.%Lower|.convert|
|00002470| 73 20 69 74 73 20 61 72 | 67 75 6d 65 6e 74 20 74 |s its ar|gument t|
|00002480| 6f 20 6c 6f 77 65 72 20 | 63 61 73 65 0d 0a 0d 0a |o lower |case....|
|00002490| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|000024a0| 4c 6f 77 65 72 28 3c 6d | 61 63 72 6f 20 63 6f 64 |Lower(<m|acro cod|
|000024b0| 65 3e 29 0d 0a 00 25 4c | 6f 77 65 72 28 29 00 44 |e>)...%L|ower().D|
|000024c0| 42 4d 53 44 65 6c 69 6d | 00 71 00 25 44 42 4d 53 |BMSDelim|.q.%DBMS|
|000024d0| 44 65 6c 69 6d 00 72 65 | 74 75 72 6e 73 20 74 68 |Delim.re|turns th|
|000024e0| 65 20 44 42 4d 53 27 73 | 20 73 74 61 74 65 6d 65 |e DBMS's| stateme|
|000024f0| 6e 74 20 64 65 6c 69 6d | 69 74 65 72 0d 0a 00 25 |nt delim|iter...%|
|00002500| 44 42 4d 53 44 65 6c 69 | 6d 00 44 42 4d 53 54 72 |DBMSDeli|m.DBMSTr|
|00002510| 69 67 67 65 72 44 65 6c | 69 6d 00 72 00 25 44 42 |iggerDel|im.r.%DB|
|00002520| 4d 53 54 72 69 67 67 65 | 72 44 65 6c 69 6d 00 61 |MSTrigge|rDelim.a|
|00002530| 64 64 73 20 74 68 65 20 | 74 72 69 67 67 65 72 20 |dds the |trigger |
|00002540| 64 65 6c 69 6d 65 74 65 | 72 20 73 74 72 69 6e 67 |delimete|r string|
|00002550| 73 0d 0a 25 44 42 4d 53 | 54 72 69 67 67 65 72 44 |s..%DBMS|TriggerD|
|00002560| 65 6c 69 6d 0d 0a 0d 0a | 00 25 44 42 4d 53 54 72 |elim....|.%DBMSTr|
|00002570| 69 67 67 65 72 44 65 6c | 69 6d 00 44 42 4d 53 00 |iggerDel|im.DBMS.|
|00002580| 73 00 25 44 42 4d 53 00 | 72 65 74 75 72 6e 73 20 |s.%DBMS.|returns |
|00002590| 74 68 65 20 44 42 4d 53 | 20 6e 61 6d 65 0d 0a 00 |the DBMS| name...|
|000025a0| 25 44 42 4d 53 00 46 6f | 72 45 61 63 68 45 6e 74 |%DBMS.Fo|rEachEnt|
|000025b0| 69 74 79 00 74 00 25 46 | 6f 72 45 61 63 68 45 6e |ity.t.%F|orEachEn|
|000025c0| 74 69 74 79 28 29 00 4c | 6f 6f 70 73 20 74 68 72 |tity().L|oops thr|
|000025d0| 6f 75 67 68 20 61 6c 6c | 20 65 6e 74 69 74 69 65 |ough all| entitie|
|000025e0| 73 20 69 6e 20 74 68 65 | 0d 0a 63 75 72 72 65 6e |s in the|..curren|
|000025f0| 74 20 73 75 62 6a 65 63 | 74 20 61 72 65 61 2c 20 |t subjec|t area, |
|00002600| 65 76 61 6c 75 61 74 69 | 6e 67 20 74 68 65 0d 0a |evaluati|ng the..|
|00002610| 6d 61 63 72 6f 20 63 6f | 64 65 20 62 65 74 77 65 |macro co|de betwe|
|00002620| 65 6e 20 74 68 65 20 62 | 72 61 63 65 73 0d 0a 0d |en the b|races...|
|00002630| 0a 53 79 6e 74 61 78 3a | 0d 0a 25 46 6f 72 45 61 |.Syntax:|..%ForEa|
|00002640| 63 68 45 6e 74 69 74 79 | 28 5b 3c 74 61 62 6c 65 |chEntity|([<table|
|00002650| 20 6e 61 6d 65 3e 5d 29 | 20 7b 0d 0a 7d 0d 0a 0d | name>])| {..}...|
|00002660| 0a 42 61 73 69 63 20 53 | 79 6e 74 61 78 20 45 78 |.Basic S|yntax Ex|
|00002670| 61 6d 70 6c 65 3a 0d 0a | 25 46 6f 72 45 61 63 68 |ample:..|%ForEach|
|00002680| 45 6e 74 69 74 79 28 29 | 20 7b 0d 0a 20 20 25 54 |Entity()| {.. %T|
|00002690| 61 62 6c 65 4e 61 6d 65 | 0d 0a 7d 0d 0a 0d 0a 45 |ableName|..}....E|
|000026a0| 78 70 61 6e 73 69 6f 6e | 3a 0d 0a 4d 4f 56 49 45 |xpansion|:..MOVIE|
|000026b0| 5f 43 4f 50 59 0d 0a 4d | 4f 56 49 45 5f 52 45 4e |_COPY..M|OVIE_REN|
|000026c0| 54 41 4c 5f 52 45 43 4f | 52 00 25 46 6f 72 45 61 |TAL_RECO|R.%ForEa|
|000026d0| 63 68 45 6e 74 69 74 79 | 28 29 20 7b 0d 0a 7d 00 |chEntity|() {..}.|
|000026e0| 46 6f 72 45 61 63 68 56 | 61 6c 69 64 61 74 69 6f |ForEachV|alidatio|
|000026f0| 6e 00 75 00 25 46 6f 72 | 45 61 63 68 56 61 6c 69 |n.u.%For|EachVali|
|00002700| 64 61 74 69 6f 6e 28 29 | 00 4c 6f 6f 70 73 20 74 |dation()|.Loops t|
|00002710| 68 72 6f 75 67 68 20 61 | 6c 6c 20 76 61 6c 69 64 |hrough a|ll valid|
|00002720| 61 74 69 6f 6e 20 72 75 | 6c 65 73 2c 0d 0a 65 76 |ation ru|les,..ev|
|00002730| 61 6c 75 61 74 69 6e 67 | 20 74 68 65 20 6d 61 63 |aluating| the mac|
|00002740| 72 6f 20 63 6f 64 65 20 | 62 65 74 77 65 65 6e 20 |ro code |between |
|00002750| 74 68 65 0d 0a 62 72 61 | 63 65 73 20 77 69 74 68 |the..bra|ces with|
|00002760| 20 72 65 73 70 65 63 74 | 20 74 6f 20 65 61 63 68 | respect| to each|
|00002770| 20 76 61 6c 69 64 61 74 | 69 6f 6e 2e 0d 0a 0d 0a | validat|ion.....|
|00002780| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|00002790| 46 6f 72 45 61 63 68 56 | 61 6c 69 64 61 74 69 6f |ForEachV|alidatio|
|000027a0| 6e 28 29 20 7b 0d 0a 7d | 0d 0a 0d 0a 42 61 73 69 |n() {..}|....Basi|
|000027b0| 63 20 53 79 6e 74 61 78 | 20 45 78 61 6d 70 6c 65 |c Syntax| Example|
|000027c0| 3a 0d 0a 25 46 6f 72 45 | 61 63 68 56 61 6c 69 64 |:..%ForE|achValid|
|000027d0| 61 74 69 6f 6e 28 29 20 | 7b 0d 0a 20 20 25 56 61 |ation() |{.. %Va|
|000027e0| 6c 69 64 61 74 69 6f 6e | 4e 61 6d 65 0d 0a 7d 0d |lidation|Name..}.|
|000027f0| 0a 00 25 46 6f 72 45 61 | 63 68 56 61 6c 69 64 61 |..%ForEa|chValida|
|00002800| 74 69 6f 6e 28 29 20 7b | 0d 0a 7d 00 56 61 6c 69 |tion() {|..}.Vali|
|00002810| 64 61 74 69 6f 6e 4e 61 | 6d 65 00 76 00 25 56 61 |dationNa|me.v.%Va|
|00002820| 6c 69 64 61 74 69 6f 6e | 4e 61 6d 65 00 72 65 74 |lidation|Name.ret|
|00002830| 75 72 6e 73 20 61 6e 20 | 45 52 77 69 6e 20 76 61 |urns an |ERwin va|
|00002840| 6c 69 64 61 74 69 6f 6e | 27 73 20 6e 61 6d 65 0d |lidation|'s name.|
|00002850| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 3a |...Basic| Syntax:|
|00002860| 0d 0a 25 56 61 6c 69 64 | 61 74 69 6f 6e 4e 61 6d |..%Valid|ationNam|
|00002870| 65 0d 0a 0d 0a 55 73 61 | 67 65 20 43 6f 6e 74 65 |e....Usa|ge Conte|
|00002880| 78 74 3a 0d 0a 20 20 20 | 20 2d 20 77 69 74 68 69 |xt:.. | - withi|
|00002890| 6e 20 74 68 65 20 73 63 | 6f 70 65 20 6f 66 20 61 |n the sc|ope of a|
|000028a0| 0d 0a 20 20 20 20 76 61 | 6c 69 64 61 74 69 6f 6e |.. va|lidation|
|000028b0| 20 28 69 2e 65 2e 20 25 | 46 6f 72 45 61 63 68 56 | (i.e. %|ForEachV|
|000028c0| 61 6c 69 64 61 74 69 6f | 6e 29 0d 0a 00 25 56 61 |alidatio|n)...%Va|
|000028d0| 6c 69 64 61 74 69 6f 6e | 4e 61 6d 65 00 46 6f 72 |lidation|Name.For|
|000028e0| 45 61 63 68 44 65 66 61 | 75 6c 74 00 77 00 25 46 |EachDefa|ult.w.%F|
|000028f0| 6f 72 45 61 63 68 44 65 | 66 61 75 6c 74 28 29 00 |orEachDe|fault().|
|00002900| 4c 6f 6f 70 73 20 74 68 | 72 6f 75 67 68 20 61 6c |Loops th|rough al|
|00002910| 6c 20 45 52 77 69 6e 20 | 64 65 66 61 75 6c 74 73 |l ERwin |defaults|
|00002920| 2c 0d 0a 65 76 61 6c 75 | 61 74 69 6e 67 20 74 68 |,..evalu|ating th|
|00002930| 65 20 6d 61 63 72 6f 20 | 63 6f 64 65 20 62 65 74 |e macro |code bet|
|00002940| 77 65 65 6e 20 74 68 65 | 0d 0a 62 72 61 63 65 73 |ween the|..braces|
|00002950| 20 77 69 74 68 20 72 65 | 73 70 65 63 74 20 74 6f | with re|spect to|
|00002960| 20 65 61 63 68 20 64 65 | 66 61 75 6c 74 2e 0d 0a | each de|fault...|
|00002970| 0d 0a 42 61 73 69 63 20 | 53 79 6e 74 61 78 3a 0d |..Basic |Syntax:.|
|00002980| 0a 25 46 6f 72 45 61 63 | 68 44 65 66 61 75 6c 74 |.%ForEac|hDefault|
|00002990| 28 29 20 7b 0d 0a 7d 0d | 0a 0d 0a 42 61 73 69 63 |() {..}.|...Basic|
|000029a0| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|000029b0| 0d 0a 25 46 6f 72 45 61 | 63 68 44 65 66 61 75 6c |..%ForEa|chDefaul|
|000029c0| 74 28 29 20 7b 0d 0a 20 | 20 25 44 65 66 61 75 6c |t() {.. | %Defaul|
|000029d0| 74 4e 61 6d 65 20 20 25 | 44 65 66 61 75 6c 74 56 |tName %|DefaultV|
|000029e0| 61 6c 75 65 0d 0a 7d 0d | 0a 00 25 46 6f 72 45 61 |alue..}.|..%ForEa|
|000029f0| 63 68 44 65 66 61 75 6c | 74 28 29 20 7b 0d 0a 7d |chDefaul|t() {..}|
|00002a00| 00 44 65 66 61 75 6c 74 | 4e 61 6d 65 00 78 00 25 |.Default|Name.x.%|
|00002a10| 44 65 66 61 75 6c 74 4e | 61 6d 65 00 72 65 74 75 |DefaultN|ame.retu|
|00002a20| 72 6e 73 20 61 6e 20 45 | 52 77 69 6e 20 64 65 66 |rns an E|Rwin def|
|00002a30| 61 75 6c 74 27 73 20 6e | 61 6d 65 0d 0a 0d 0a 42 |ault's n|ame....B|
|00002a40| 61 73 69 63 20 53 79 6e | 74 61 78 3a 0d 0a 25 44 |asic Syn|tax:..%D|
|00002a50| 65 66 61 75 6c 74 4e 61 | 6d 65 0d 0a 0d 0a 55 73 |efaultNa|me....Us|
|00002a60| 61 67 65 20 43 6f 6e 74 | 65 78 74 3a 0d 0a 20 20 |age Cont|ext:.. |
|00002a70| 20 20 44 65 66 61 75 6c | 74 4e 61 6d 65 20 2d 20 | Defaul|tName - |
|00002a80| 77 69 74 68 69 6e 20 74 | 68 65 20 73 63 6f 70 65 |within t|he scope|
|00002a90| 20 6f 66 20 61 6e 20 45 | 52 77 69 6e 0d 0a 20 20 | of an E|Rwin.. |
|00002aa0| 20 20 20 20 20 20 64 65 | 66 61 75 6c 74 20 28 69 | de|fault (i|
|00002ab0| 2e 65 2e 20 25 46 6f 72 | 45 61 63 68 44 65 66 61 |.e. %For|EachDefa|
|00002ac0| 75 6c 74 29 0d 0a 00 25 | 44 65 66 61 75 6c 74 4e |ult)...%|DefaultN|
|00002ad0| 61 6d 65 00 44 65 66 61 | 75 6c 74 56 61 6c 75 65 |ame.Defa|ultValue|
|00002ae0| 00 79 00 25 44 65 66 61 | 75 6c 74 56 61 6c 75 65 |.y.%Defa|ultValue|
|00002af0| 00 72 65 74 75 72 6e 73 | 20 61 6e 20 45 52 77 69 |.returns| an ERwi|
|00002b00| 6e 20 64 65 66 61 75 6c | 74 27 73 20 76 61 6c 75 |n defaul|t's valu|
|00002b10| 65 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |e....Bas|ic Synta|
|00002b20| 78 3a 0d 0a 25 44 65 66 | 61 75 6c 74 56 61 6c 75 |x:..%Def|aultValu|
|00002b30| 65 28 3c 64 65 66 61 75 | 6c 74 27 73 20 6e 61 6d |e(<defau|lt's nam|
|00002b40| 65 3e 29 20 6f 72 0d 0a | 25 44 65 66 61 75 6c 74 |e>) or..|%Default|
|00002b50| 56 61 6c 75 65 0d 0a 0d | 0a 55 73 61 67 65 20 43 |Value...|.Usage C|
|00002b60| 6f 6e 74 65 78 74 3a 0d | 0a 20 20 20 20 25 44 65 |ontext:.|. %De|
|00002b70| 66 61 75 6c 74 56 61 6c | 75 65 28 3c 64 65 66 61 |faultVal|ue(<defa|
|00002b80| 75 6c 74 27 73 20 6e 61 | 6d 65 3e 29 20 2d 20 61 |ult's na|me>) - a|
|00002b90| 6e 79 77 68 65 72 65 0d | 0a 20 20 20 20 25 44 65 |nywhere.|. %De|
|00002ba0| 66 61 75 6c 74 56 61 6c | 75 65 20 2d 20 77 69 74 |faultVal|ue - wit|
|00002bb0| 68 69 6e 20 74 68 65 20 | 73 63 6f 70 65 20 6f 66 |hin the |scope of|
|00002bc0| 20 61 6e 0d 0a 20 20 20 | 20 20 20 20 20 45 52 77 | an.. | ERw|
|00002bd0| 69 6e 20 64 65 66 61 75 | 6c 74 20 28 69 2e 65 2e |in defau|lt (i.e.|
|00002be0| 20 25 46 6f 72 45 61 63 | 68 44 65 66 61 75 6c 74 | %ForEac|hDefault|
|00002bf0| 29 0d 0a 00 25 44 65 66 | 61 75 6c 74 56 61 6c 75 |)...%Def|aultValu|
|00002c00| 65 00 46 6f 72 45 61 63 | 68 44 6f 6d 61 69 6e 00 |e.ForEac|hDomain.|
|00002c10| 7a 00 25 46 6f 72 45 61 | 63 68 44 6f 6d 61 69 6e |z.%ForEa|chDomain|
|00002c20| 28 29 00 4c 6f 6f 70 73 | 20 74 68 72 6f 75 67 68 |().Loops| through|
|00002c30| 20 61 6c 6c 20 45 52 77 | 69 6e 20 64 6f 6d 61 69 | all ERw|in domai|
|00002c40| 6e 73 20 74 68 61 74 0d | 0a 64 65 66 69 6e 65 20 |ns that.|.define |
|00002c50| 64 61 74 61 74 79 70 65 | 73 2c 20 65 76 61 6c 75 |datatype|s, evalu|
|00002c60| 61 74 69 6e 67 20 74 68 | 65 0d 0a 6d 61 63 72 6f |ating th|e..macro|
|00002c70| 20 63 6f 64 65 20 62 65 | 74 77 65 65 6e 20 74 68 | code be|tween th|
|00002c80| 65 20 62 72 61 63 65 73 | 0d 0a 77 69 74 68 20 72 |e braces|..with r|
|00002c90| 65 73 70 65 63 74 20 74 | 6f 20 65 61 63 68 20 64 |espect t|o each d|
|00002ca0| 6f 6d 61 69 6e 2e 0d 0a | 0d 0a 42 61 73 69 63 20 |omain...|..Basic |
|00002cb0| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00002cc0| 0a 25 46 6f 72 45 61 63 | 68 44 6f 6d 61 69 6e 28 |.%ForEac|hDomain(|
|00002cd0| 29 20 7b 0d 0a 20 20 25 | 44 6f 6d 61 69 6e 4e 61 |) {.. %|DomainNa|
|00002ce0| 6d 65 20 25 44 6f 6d 61 | 69 6e 44 61 74 61 74 79 |me %Doma|inDataty|
|00002cf0| 70 65 20 25 44 6f 6d 61 | 69 6e 4e 75 6c 6c 0d 0a |pe %Doma|inNull..|
|00002d00| 20 20 25 44 6f 6d 61 69 | 6e 56 61 6c 69 64 61 74 | %Domai|nValidat|
|00002d10| 69 6f 6e 20 25 44 6f 6d | 61 69 6e 44 65 66 61 75 |ion %Dom|ainDefau|
|00002d20| 6c 74 0d 0a 7d 0d 0a 00 | 25 46 6f 72 45 61 63 68 |lt..}...|%ForEach|
|00002d30| 44 6f 6d 61 69 6e 28 29 | 20 7b 0d 0a 7d 00 44 6f |Domain()| {..}.Do|
|00002d40| 6d 61 69 6e 4e 61 6d 65 | 00 7b 00 25 44 6f 6d 61 |mainName|.{.%Doma|
|00002d50| 69 6e 4e 61 6d 65 00 72 | 65 74 75 72 6e 73 20 61 |inName.r|eturns a|
|00002d60| 6e 20 45 52 77 69 6e 20 | 64 6f 6d 61 69 6e 27 73 |n ERwin |domain's|
|00002d70| 20 6e 61 6d 65 0d 0a 0d | 0a 42 61 73 69 63 20 53 | name...|.Basic S|
|00002d80| 79 6e 74 61 78 3a 0d 0a | 25 44 6f 6d 61 69 6e 4e |yntax:..|%DomainN|
|00002d90| 61 6d 65 5b 28 5b 4c 6f | 67 69 63 61 6c 7c 50 68 |ame[([Lo|gical|Ph|
|00002da0| 79 73 69 63 61 6c 5d 29 | 5d 0d 0a 0d 0a 55 73 61 |ysical])|]....Usa|
|00002db0| 67 65 20 43 6f 6e 74 65 | 78 74 3a 0d 0a 20 20 20 |ge Conte|xt:.. |
|00002dc0| 20 44 6f 6d 61 69 6e 4e | 61 6d 65 20 2d 20 77 69 | DomainN|ame - wi|
|00002dd0| 74 68 69 6e 20 74 68 65 | 20 73 63 6f 70 65 20 6f |thin the| scope o|
|00002de0| 66 20 61 6e 20 45 52 77 | 69 6e 0d 0a 20 20 20 20 |f an ERw|in.. |
|00002df0| 20 20 20 20 64 6f 6d 61 | 69 6e 20 28 69 2e 65 2e | doma|in (i.e.|
|00002e00| 20 25 46 6f 72 45 61 63 | 68 44 6f 6d 61 69 6e 29 | %ForEac|hDomain)|
|00002e10| 0d 0a 00 25 44 6f 6d 61 | 69 6e 4e 61 6d 65 00 44 |...%Doma|inName.D|
|00002e20| 6f 6d 61 69 6e 44 61 74 | 61 74 79 70 65 00 7c 00 |omainDat|atype.|.|
|00002e30| 25 44 6f 6d 61 69 6e 44 | 61 74 61 74 79 70 65 00 |%DomainD|atatype.|
|00002e40| 72 65 74 75 72 6e 73 20 | 61 6e 20 45 52 77 69 6e |returns |an ERwin|
|00002e50| 20 64 6f 6d 61 69 6e 27 | 73 20 64 61 74 61 74 79 | domain'|s dataty|
|00002e60| 70 65 0d 0a 0d 0a 42 61 | 73 69 63 20 53 79 6e 74 |pe....Ba|sic Synt|
|00002e70| 61 78 3a 0d 0a 25 44 6f | 6d 61 69 6e 44 61 74 61 |ax:..%Do|mainData|
|00002e80| 74 79 70 65 28 3c 64 6f | 6d 61 69 6e 27 73 20 6e |type(<do|main's n|
|00002e90| 61 6d 65 3e 29 20 6f 72 | 0d 0a 25 44 6f 6d 61 69 |ame>) or|..%Domai|
|00002ea0| 6e 44 61 74 61 74 79 70 | 65 0d 0a 0d 0a 55 73 61 |nDatatyp|e....Usa|
|00002eb0| 67 65 20 43 6f 6e 74 65 | 78 74 3a 0d 0a 20 20 20 |ge Conte|xt:.. |
|00002ec0| 20 25 44 6f 6d 61 69 6e | 44 61 74 61 74 79 70 65 | %Domain|Datatype|
|00002ed0| 28 3c 64 6f 6d 61 69 6e | 27 73 20 6e 61 6d 65 3e |(<domain|'s name>|
|00002ee0| 29 20 2d 20 61 6e 79 77 | 68 65 72 65 0d 0a 20 20 |) - anyw|here.. |
|00002ef0| 20 20 25 44 6f 6d 61 69 | 6e 44 61 74 61 74 79 70 | %Domai|nDatatyp|
|00002f00| 65 20 2d 20 77 69 74 68 | 69 6e 20 74 68 65 20 73 |e - with|in the s|
|00002f10| 63 6f 70 65 20 6f 66 20 | 61 6e 0d 0a 20 20 20 20 |cope of |an.. |
|00002f20| 20 20 20 20 45 52 77 69 | 6e 20 64 6f 6d 61 69 6e | ERwi|n domain|
|00002f30| 20 28 69 2e 65 2e 20 25 | 46 6f 72 45 61 63 68 44 | (i.e. %|ForEachD|
|00002f40| 6f 6d 61 69 6e 29 0d 0a | 00 25 44 6f 6d 61 69 6e |omain)..|.%Domain|
|00002f50| 44 61 74 61 74 79 70 65 | 00 44 6f 6d 61 69 6e 4e |Datatype|.DomainN|
|00002f60| 75 6c 6c 4f 70 74 69 6f | 6e 00 7d 00 25 44 6f 6d |ullOptio|n.}.%Dom|
|00002f70| 61 69 6e 4e 75 6c 6c 4f | 70 74 69 6f 6e 00 72 65 |ainNullO|ption.re|
|00002f80| 74 75 72 6e 73 20 61 6e | 20 45 52 77 69 6e 20 64 |turns an| ERwin d|
|00002f90| 6f 6d 61 69 6e 27 73 20 | 6e 75 6c 6c 20 6f 70 74 |omain's |null opt|
|00002fa0| 69 6f 6e 0d 0a 0d 0a 42 | 61 73 69 63 20 53 79 6e |ion....B|asic Syn|
|00002fb0| 74 61 78 3a 0d 0a 25 44 | 6f 6d 61 69 6e 4e 75 6c |tax:..%D|omainNul|
|00002fc0| 6c 4f 70 74 69 6f 6e 28 | 3c 64 6f 6d 61 69 6e 27 |lOption(|<domain'|
|00002fd0| 73 20 6e 61 6d 65 3e 29 | 20 6f 72 0d 0a 25 44 6f |s name>)| or..%Do|
|00002fe0| 6d 61 69 6e 4e 75 6c 6c | 4f 70 74 69 6f 6e 0d 0a |mainNull|Option..|
|00002ff0| 0d 0a 55 73 61 67 65 20 | 43 6f 6e 74 65 78 74 3a |..Usage |Context:|
|00003000| 0d 0a 20 20 20 20 25 44 | 6f 6d 61 69 6e 4e 75 6c |.. %D|omainNul|
|00003010| 6c 4f 70 74 69 6f 6e 28 | 3c 64 6f 6d 61 69 6e 27 |lOption(|<domain'|
|00003020| 73 20 6e 61 6d 65 3e 29 | 20 2d 20 61 6e 79 77 68 |s name>)| - anywh|
|00003030| 65 72 65 0d 0a 20 20 20 | 20 25 44 6f 6d 61 69 6e |ere.. | %Domain|
|00003040| 4e 75 6c 6c 4f 70 74 69 | 6f 6e 20 2d 20 77 69 74 |NullOpti|on - wit|
|00003050| 68 69 6e 20 74 68 65 20 | 73 63 6f 70 65 20 6f 66 |hin the |scope of|
|00003060| 20 61 6e 0d 0a 20 20 20 | 20 20 20 20 20 45 52 77 | an.. | ERw|
|00003070| 69 6e 20 64 6f 6d 61 69 | 6e 20 28 69 2e 65 2e 20 |in domai|n (i.e. |
|00003080| 25 46 6f 72 45 61 63 68 | 44 6f 6d 61 69 6e 29 0d |%ForEach|Domain).|
|00003090| 0a 00 25 44 6f 6d 61 69 | 6e 4e 75 6c 6c 4f 70 74 |..%Domai|nNullOpt|
|000030a0| 69 6f 6e 00 44 6f 6d 61 | 69 6e 56 61 6c 69 64 61 |ion.Doma|inValida|
|000030b0| 74 69 6f 6e 00 7e 00 25 | 44 6f 6d 61 69 6e 56 61 |tion.~.%|DomainVa|
|000030c0| 6c 69 64 61 74 69 6f 6e | 00 72 65 74 75 72 6e 73 |lidation|.returns|
|000030d0| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|000030e0| 20 76 61 6c 69 64 61 74 | 69 6f 6e 0d 0a 61 74 74 | validat|ion..att|
|000030f0| 61 63 68 65 64 20 74 6f | 20 61 6e 20 45 52 77 69 |ached to| an ERwi|
|00003100| 6e 20 64 6f 6d 61 69 6e | 0d 0a 0d 0a 42 61 73 69 |n domain|....Basi|
|00003110| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 44 6f 6d 61 |c Syntax|:..%Doma|
|00003120| 69 6e 56 61 6c 69 64 61 | 74 69 6f 6e 28 3c 64 6f |inValida|tion(<do|
|00003130| 6d 61 69 6e 27 73 20 6e | 61 6d 65 3e 29 20 6f 72 |main's n|ame>) or|
|00003140| 0d 0a 25 44 6f 6d 61 69 | 6e 56 61 6c 69 64 61 74 |..%Domai|nValidat|
|00003150| 69 6f 6e 0d 0a 0d 0a 55 | 73 61 67 65 20 43 6f 6e |ion....U|sage Con|
|00003160| 74 65 78 74 3a 0d 0a 20 | 20 20 20 25 44 6f 6d 61 |text:.. | %Doma|
|00003170| 69 6e 56 61 6c 69 64 61 | 74 69 6f 6e 28 3c 64 6f |inValida|tion(<do|
|00003180| 6d 61 69 6e 27 73 20 6e | 61 6d 65 3e 29 20 2d 20 |main's n|ame>) - |
|00003190| 61 6e 79 77 68 65 72 65 | 0d 0a 20 20 20 20 25 44 |anywhere|.. %D|
|000031a0| 6f 6d 61 69 6e 56 61 6c | 69 64 61 74 69 6f 6e 20 |omainVal|idation |
|000031b0| 2d 20 77 69 74 68 69 6e | 20 74 68 65 20 73 63 6f |- within| the sco|
|000031c0| 70 65 20 6f 66 20 61 6e | 0d 0a 20 20 20 20 20 20 |pe of an|.. |
|000031d0| 20 20 45 52 77 69 6e 20 | 64 6f 6d 61 69 6e 20 28 | ERwin |domain (|
|000031e0| 69 2e 65 2e 20 25 46 6f | 72 45 61 63 68 44 6f 6d |i.e. %Fo|rEachDom|
|000031f0| 61 69 6e 29 0d 0a 00 25 | 44 6f 6d 61 69 6e 56 61 |ain)...%|DomainVa|
|00003200| 6c 69 64 61 74 69 6f 6e | 00 44 6f 6d 61 69 6e 44 |lidation|.DomainD|
|00003210| 65 66 61 75 6c 74 00 7f | 00 25 44 6f 6d 61 69 6e |efault..|.%Domain|
|00003220| 44 65 66 61 75 6c 74 00 | 72 65 74 75 72 6e 73 20 |Default.|returns |
|00003230| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the |
|00003240| 64 65 66 61 75 6c 74 0d | 0a 61 74 74 61 63 68 65 |default.|.attache|
|00003250| 64 20 74 6f 20 61 6e 20 | 45 52 77 69 6e 20 64 6f |d to an |ERwin do|
|00003260| 6d 61 69 6e 0d 0a 0d 0a | 42 61 73 69 63 20 53 79 |main....|Basic Sy|
|00003270| 6e 74 61 78 3a 0d 0a 25 | 44 6f 6d 61 69 6e 44 65 |ntax:..%|DomainDe|
|00003280| 66 61 75 6c 74 28 3c 64 | 6f 6d 61 69 6e 27 73 20 |fault(<d|omain's |
|00003290| 6e 61 6d 65 3e 29 20 6f | 72 0d 0a 25 44 6f 6d 61 |name>) o|r..%Doma|
|000032a0| 69 6e 44 65 66 61 75 6c | 74 0d 0a 0d 0a 55 73 61 |inDefaul|t....Usa|
|000032b0| 67 65 20 43 6f 6e 74 65 | 78 74 3a 0d 0a 20 20 20 |ge Conte|xt:.. |
|000032c0| 20 25 44 6f 6d 61 69 6e | 44 65 66 61 75 6c 74 28 | %Domain|Default(|
|000032d0| 3c 64 6f 6d 61 69 6e 27 | 73 20 6e 61 6d 65 3e 29 |<domain'|s name>)|
|000032e0| 20 2d 20 61 6e 79 77 68 | 65 72 65 0d 0a 20 20 20 | - anywh|ere.. |
|000032f0| 20 25 44 6f 6d 61 69 6e | 44 65 66 61 75 6c 74 20 | %Domain|Default |
|00003300| 2d 20 77 69 74 68 69 6e | 20 74 68 65 20 73 63 6f |- within| the sco|
|00003310| 70 65 20 6f 66 20 61 6e | 0d 0a 20 20 20 20 20 20 |pe of an|.. |
|00003320| 20 20 45 52 77 69 6e 20 | 64 6f 6d 61 69 6e 20 28 | ERwin |domain (|
|00003330| 69 2e 65 2e 20 25 46 6f | 72 45 61 63 68 44 6f 6d |i.e. %Fo|rEachDom|
|00003340| 61 69 6e 29 0d 0a 00 25 | 44 6f 6d 61 69 6e 44 65 |ain)...%|DomainDe|
|00003350| 66 61 75 6c 74 00 44 6f | 6d 61 69 6e 44 65 66 00 |fault.Do|mainDef.|
|00003360| 80 00 25 44 6f 6d 61 69 | 6e 44 65 66 00 72 65 74 |..%Domai|nDef.ret|
|00003370| 75 72 6e 73 20 74 68 65 | 20 64 65 66 69 6e 69 74 |urns the| definit|
|00003380| 69 6f 6e 0d 0a 6f 66 20 | 74 68 65 20 45 52 77 69 |ion..of |the ERwi|
|00003390| 6e 20 64 6f 6d 61 69 6e | 0d 0a 0d 0a 42 61 73 69 |n domain|....Basi|
|000033a0| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 44 6f 6d 61 |c Syntax|:..%Doma|
|000033b0| 69 6e 44 65 66 28 3c 64 | 6f 6d 61 69 6e 27 73 20 |inDef(<d|omain's |
|000033c0| 6e 61 6d 65 3e 29 20 6f | 72 0d 0a 25 44 6f 6d 61 |name>) o|r..%Doma|
|000033d0| 69 6e 44 65 66 0d 0a 0d | 0a 55 73 61 67 65 20 43 |inDef...|.Usage C|
|000033e0| 6f 6e 74 65 78 74 3a 0d | 0a 20 20 20 20 25 44 6f |ontext:.|. %Do|
|000033f0| 6d 61 69 6e 44 65 66 28 | 3c 64 6f 6d 61 69 6e 27 |mainDef(|<domain'|
|00003400| 73 20 6e 61 6d 65 3e 29 | 20 2d 20 61 6e 79 77 68 |s name>)| - anywh|
|00003410| 65 72 65 0d 0a 20 20 20 | 20 25 44 6f 6d 61 69 6e |ere.. | %Domain|
|00003420| 44 65 66 20 2d 20 77 69 | 74 68 69 6e 20 74 68 65 |Def - wi|thin the|
|00003430| 20 73 63 6f 70 65 20 6f | 66 20 61 6e 0d 0a 20 20 | scope o|f an.. |
|00003440| 20 20 20 20 20 20 45 52 | 77 69 6e 20 64 6f 6d 61 | ER|win doma|
|00003450| 69 6e 20 28 69 2e 65 2e | 20 25 46 6f 72 45 61 63 |in (i.e.| %ForEac|
|00003460| 68 44 6f 6d 61 69 6e 29 | 0d 0a 00 25 44 6f 6d 61 |hDomain)|...%Doma|
|00003470| 69 6e 44 65 66 00 41 74 | 74 44 6f 6d 61 69 6e 00 |inDef.At|tDomain.|
|00003480| 81 00 25 41 74 74 44 6f | 6d 61 69 6e 00 72 65 74 |..%AttDo|main.ret|
|00003490| 75 72 6e 73 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |urns the| name of|
|000034a0| 20 74 68 65 20 64 6f 6d | 61 69 6e 0d 0a 61 74 74 | the dom|ain..att|
|000034b0| 61 63 68 65 64 20 74 6f | 20 61 6e 20 45 52 77 69 |ached to| an ERwi|
|000034c0| 6e 20 61 74 74 72 69 62 | 75 74 65 0d 0a 0d 0a 42 |n attrib|ute....B|
|000034d0| 61 73 69 63 20 53 79 6e | 74 61 78 3a 0d 0a 25 41 |asic Syn|tax:..%A|
|000034e0| 74 74 44 6f 6d 61 69 6e | 0d 0a 0d 0a 55 73 61 67 |ttDomain|....Usag|
|000034f0| 65 20 43 6f 6e 74 65 78 | 74 3a 0d 0a 20 20 20 20 |e Contex|t:.. |
|00003500| 25 41 74 74 44 6f 6d 61 | 69 6e 20 2d 20 77 69 74 |%AttDoma|in - wit|
|00003510| 68 69 6e 20 74 68 65 20 | 73 63 6f 70 65 20 6f 66 |hin the |scope of|
|00003520| 20 61 6e 0d 0a 20 20 20 | 20 20 20 20 20 45 52 77 | an.. | ERw|
|00003530| 69 6e 20 61 74 74 72 69 | 62 75 74 65 20 28 69 2e |in attri|bute (i.|
|00003540| 65 2e 20 25 46 6f 72 45 | 61 63 68 41 74 74 29 0d |e. %ForE|achAtt).|
|00003550| 0a 00 25 41 74 74 44 6f | 6d 61 69 6e 00 53 77 69 |..%AttDo|main.Swi|
|00003560| 74 63 68 00 82 00 25 53 | 77 69 74 63 68 28 29 00 |tch...%S|witch().|
|00003570| 45 76 61 6c 75 61 74 65 | 73 20 74 68 65 20 73 77 |Evaluate|s the sw|
|00003580| 69 74 63 68 20 61 72 67 | 75 6d 65 6e 74 20 61 6e |itch arg|ument an|
|00003590| 64 20 6d 61 74 63 68 65 | 73 0d 0a 74 68 65 20 72 |d matche|s..the r|
|000035a0| 65 73 75 6c 74 20 61 67 | 61 69 6e 73 74 20 74 68 |esult ag|ainst th|
|000035b0| 65 20 73 70 65 63 69 66 | 69 65 64 20 63 68 6f 69 |e specif|ied choi|
|000035c0| 63 65 73 2e 0d 0a 49 66 | 20 61 20 6d 61 74 63 68 |ces...If| a match|
|000035d0| 20 69 73 20 66 6f 75 6e | 64 20 74 68 65 20 63 68 | is foun|d the ch|
|000035e0| 6f 69 63 65 27 73 20 63 | 6f 72 72 65 73 70 6f 6e |oice's c|orrespon|
|000035f0| 64 69 6e 67 0d 0a 6d 61 | 63 72 6f 20 63 6f 64 65 |ding..ma|cro code|
|00003600| 20 69 73 20 65 78 70 61 | 6e 64 65 64 2e 20 20 49 | is expa|nded. I|
|00003610| 66 20 6e 6f 20 6d 61 74 | 63 68 20 69 73 20 66 6f |f no mat|ch is fo|
|00003620| 75 6e 64 2c 0d 0a 74 68 | 65 20 64 65 66 61 75 6c |und,..th|e defaul|
|00003630| 74 27 73 20 6d 61 63 72 | 6f 20 63 6f 64 65 20 69 |t's macr|o code i|
|00003640| 73 20 65 78 70 61 6e 64 | 65 64 2e 0d 0a 0d 0a 53 |s expand|ed.....S|
|00003650| 79 6e 74 61 78 3a 0d 0a | 25 53 77 69 74 63 68 28 |yntax:..|%Switch(|
|00003660| 3c 61 72 67 75 6d 65 6e | 74 3e 29 20 7b 0d 0a 20 |<argumen|t>) {.. |
|00003670| 20 20 20 25 43 68 6f 6f | 73 65 28 3c 63 68 6f 69 | %Choo|se(<choi|
|00003680| 63 65 20 31 3e 29 20 7b | 3c 6d 61 63 72 6f 20 63 |ce 1>) {|<macro c|
|00003690| 6f 64 65 20 31 3e 7d 0d | 0a 20 20 20 20 25 43 68 |ode 1>}.|. %Ch|
|000036a0| 6f 6f 73 65 28 3c 63 68 | 6f 69 63 65 20 32 3e 29 |oose(<ch|oice 2>)|
|000036b0| 20 7b 3c 6d 61 63 72 6f | 20 63 6f 64 65 20 32 3e | {<macro| code 2>|
|000036c0| 7d 0d 0a 20 20 20 20 20 | 20 20 20 3c 65 74 63 2e |}.. | <etc.|
|000036d0| 2e 2e 3e 0d 0a 20 20 20 | 20 25 44 65 66 61 75 6c |..>.. | %Defaul|
|000036e0| 74 20 7b 3c 64 65 66 61 | 75 6c 74 20 6d 61 63 72 |t {<defa|ult macr|
|000036f0| 6f 20 63 6f 64 65 3e 7d | 0d 0a 7d 0d 0a 00 25 53 |o code>}|..}...%S|
|00003700| 77 69 74 63 68 20 28 29 | 20 7b 0d 0a 20 20 20 20 |witch ()| {.. |
|00003710| 25 43 68 6f 6f 73 65 28 | 29 20 7b 7d 0d 0a 20 20 |%Choose(|) {}.. |
|00003720| 20 20 25 43 68 6f 6f 73 | 65 28 29 20 7b 7d 0d 0a | %Choos|e() {}..|
|00003730| 20 20 20 20 25 44 65 66 | 61 75 6c 74 20 7b 7d 0d | %Def|ault {}.|
|00003740| 0a 7d 00 44 61 74 61 74 | 79 70 65 4e 61 6d 65 00 |.}.Datat|ypeName.|
|00003750| 83 00 25 44 61 74 61 74 | 79 70 65 4e 61 6d 65 28 |..%Datat|ypeName(|
|00003760| 29 00 42 61 73 69 63 20 | 53 79 6e 74 61 78 3a 0d |).Basic |Syntax:.|
|00003770| 0a 25 44 61 74 61 74 79 | 70 65 4e 61 6d 65 28 29 |.%Dataty|peName()|
|00003780| 0d 0a 00 25 44 61 74 61 | 74 79 70 65 4e 61 6d 65 |...%Data|typeName|
|00003790| 28 29 00 44 61 74 61 74 | 79 70 65 57 69 64 74 68 |().Datat|ypeWidth|
|000037a0| 00 84 00 25 44 61 74 61 | 74 79 70 65 57 69 64 74 |...%Data|typeWidt|
|000037b0| 68 28 29 00 42 61 73 69 | 63 20 53 79 6e 74 61 78 |h().Basi|c Syntax|
|000037c0| 3a 0d 0a 25 44 61 74 61 | 74 79 70 65 57 69 64 74 |:..%Data|typeWidt|
|000037d0| 68 28 29 0d 0a 00 25 44 | 61 74 61 74 79 70 65 57 |h()...%D|atatypeW|
|000037e0| 69 64 74 68 28 29 00 44 | 61 74 61 74 79 70 65 53 |idth().D|atatypeS|
|000037f0| 63 61 6c 65 00 85 00 25 | 44 61 74 61 74 79 70 65 |cale...%|Datatype|
|00003800| 53 63 61 6c 65 28 29 00 | 42 61 73 69 63 20 53 79 |Scale().|Basic Sy|
|00003810| 6e 74 61 78 3a 0d 0a 25 | 44 61 74 61 74 79 70 65 |ntax:..%|Datatype|
|00003820| 53 63 61 6c 65 28 29 0d | 0a 00 25 44 61 74 61 74 |Scale().|..%Datat|
|00003830| 79 70 65 53 63 61 6c 65 | 28 29 00 00 a5 00 |ypeScale|().... |
+--------+-------------------------+-------------------------+--------+--------+